03-23-2012, 08:05 AM | #1 |
Enthusiast
Posts: 29
Karma: 496864
Join Date: Mar 2012
Location: Virginia
Device: none
|
CSS troubles in ADE
Hi All, This is my first post here and my second day working with epub format.
My CSS and document look great in a web browser and I just download Sigil and it looks good there too, but when I open it in ADE none of my tex indents are there. It's an outline style document. I'm using - text-indent: 5em; I realize that not all of CSS is supported, but this is pretty basic. Any insight you can offer would be great. Thanks! |
03-23-2012, 08:08 AM | #2 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
ADE tends to ignore the whole stylesheet if there is anything it doesn't like. Try validating the CSS and correct any error or warning.
|
03-23-2012, 11:38 AM | #3 |
Enthusiast
Posts: 29
Karma: 496864
Join Date: Mar 2012
Location: Virginia
Device: none
|
thanks!
There were a lot of extra definitions in the stylesheet so I removed them and validated the rest. Sure enough, someone had thrown a x-medium font size in there that ADE did not like. Removed it and it works.
|
03-23-2012, 12:16 PM | #4 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Come to think of it... why did "medium" get the short end of the stick when there's so many levels of small and large? Shouldn't there be at least medium-large and medium-small?
|
03-23-2012, 01:50 PM | #5 |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
03-26-2012, 12:43 PM | #6 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
03-26-2012, 12:48 PM | #7 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Nobody gets a joke anymore ('though I'll admit it might have been poorly executed)?
|
03-26-2012, 12:50 PM | #8 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
css formatting not showing in ADE? | bfollowell | Sigil | 9 | 10-09-2011 07:28 PM |
ADE won't use Sigil css file | Phanes | Sigil | 6 | 10-22-2010 01:29 PM |
Styling Elements in CSS - ADE and Sony | toskpro | Sony Reader | 0 | 07-19-2010 01:55 PM |
ADE mit userstyle css | mtravellerh | PocketBook | 0 | 05-21-2010 03:40 PM |
epub, ADE and CSS puzzle | pdurrant | ePub | 3 | 09-03-2009 01:07 PM |