Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 03-15-2012, 04:09 PM   #1
sderrick
Junior Member
sderrick began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2012
Location: nm
Device: Android Tablet
Kindlegen warning about css

We generate mobi, epub, straight html , etc from xml source.

WE use a base.css file for all our targets, and for our mobi targets an additional mobi.css file is used to override some of the base css settings and add additional css settings that the kindle needs to format the text correctly.

I am getting a warning from kindlegen

Code:
[exec] Warning(htmlprocessor):W28003: Value specified for CSS property in content is not supported by Kindle readers. Please refer Kindle Publishing Guidelines about usage of property: 'position: absolute' in file:.....
referring to a css tag in the base css file that uses the position attribute. This class is overridden in the mobi.css file yet kindlegen still spits out a useless warning.

I have to have the position attribute for targets that support it, and we downgrade the look and feel of the document in mobi because it doesn't support that.

I hate useless warnings in the build process because they can mask real problems.

Is there anyway to tell kindlegen to not generate this warning?

thanks, Scott
sderrick is offline   Reply With Quote
Old 04-17-2012, 04:24 AM   #2
mrlasers
Junior Member
mrlasers began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2011
Device: Amazon Kindle
KindleGen raises this warning if you're using the position property outside of a fixed-layout book. However, it does appear to function properly in the currently available readers: Kindle Fire, Kindle for Android, Kindle for PC, and Kindle Previewer.

You should be able to safely ignore the warning.
mrlasers is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Override ePub CSS with userStyle.css? barium Sony Reader Dev Corner 11 07-16-2011 03:25 PM
KindleGen: Warning(SA): SA failed hkdorama Kindle Formats 4 03-17-2011 11:35 PM
Troubleshooting TOC fails in Kindlegen 1.1, not Kindlegen 1.0 cyberbaffled Amazon Kindle 3 12-25-2010 05:21 PM
css pseudo elements and adjacent combinators in extra css? ldolse Calibre 2 12-21-2010 05:09 PM


All times are GMT -4. The time now is 03:20 AM.


MobileRead.com is a privately owned, operated and funded community.