Sent by Arlen Walker on 22 February 2008 18:06
Noted something interesting:
Floats appear to affect text alignment but not background alignment.
A p to the right of a floated box has centered background and text-
align: center text. The two do not line up.
Can use a variant of the old "margin: 0 auto" to line the text and
background up, but only by letting the text move over to the
background, rather than move the background to under the text.
(BTW, p stops before float stops, so it doesn't have the excuse that
it later expands to full width.)
Ah, well. If it were easy, anyone could do it. Would be nice if it
were consistent, at least, though.
Have Fun,
Arlen
------------------------------
In God we trust, all others must supply data
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/