Quote:
Originally Posted by theducks
do you have a "float" in effect?
|
Hello, Ducky:
I did not when I first tried to validate and received all the error messages about the <align> I'd used for the images. I removed the align attr and replaced them all with floats,
however, that's only on 3 of some 30-odd pages; all the rest, which
do have the clear=all code I posted, are nothing more than text with a level 2 header, no images, no float, nada. What I posted is what shows up, near the closing body tag; it seems to me that it somehow is related to the definition of the section break, as it uses the syntax
br class="sgc-6" clear="all"
At least, that's what I've seen so far in the one book I'm trying to get to validate, after which I'll get rolling on the other {sigh} 10 I need to get done, assuming I want to get them up on any of the iPlatforms.
Here's my point and question:
This isn't happening around an image, gang. It's happening after a boatload of plain text paragraphs, near the bottom of an xhtml page, close to or immediately succeeded by the closing body tag. As it isn't happening in/on/around/near an image,
I don't understand WHAT is being "aligned" (or floated) by Sigil, so for the life of me, I have no idea what CSS I should be replacing it with, because, again,
I do not know what it is doing or why the hell Sigil put it there.
Am I supposed to--simply--set a break element in CSS, as in,
BR.end {clear:all}
And that's it? Replace all the breaks that are weird with a br class+end, or rewrite the sgc-6 css for this? I thought "all" was deprecated for the br tag? ARRGGGHHHH.....
UPDATE: For those of you poor suckers following the breadcrumbs here, what fixed it was: exactly what I posted--a break with a class of "end" set for clear:all, and changing (via S&R global) all the bizarro-world breaks with the correct class, and removing the html clear.
Also, if ANYONE else stumbles in the epub validation with a strange error message that you cannot figure out, and a blockquote is in the area, try wrapping whatever you have inside the bq with <p> tags or some equivalent.
SO: I no longer require assistance with this, I got it sorted and all four of my last author's books validated, hip-hip-hooray. ;-p
Hitch