View Single Post
Old 09-03-2009, 10:35 AM   #1
pdurrant
The Ghost Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 32,193
Karma: 88959342
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
epub, ADE and CSS puzzle

I have a puzzle. ADE isn't honouring one of my CSS styles, but only if it's in a certain position in the CSS code!

This could just be weirdness on ADE's part, in which case I can't do anything expect try to work around it.

But perhaps I'm doing something wrong.

So - I offer for inspection two epubs. They differ only in the CSS, and then only in the position of one line of the CSS - the one defining the p.first class.

In Sample 1, the first paragraph is incorrectly set with a text indent of 1em, pushing the picture into the text, and indenting the first line away from the picture.

In Sample 2, everything works as it should.

I'd be most grateful for any comments. Oh - and these are generated by Sigil 0.1.3
Attached Files
File Type: epub Sample1.epub (1.06 MB, 161 views)
File Type: epub Sample2.epub (1.06 MB, 152 views)
pdurrant is offline   Reply With Quote