Tom Molesworth <[EMAIL PROTECTED]> wrote: Hi Trevor,
On 03/09/07, trevor bayliss wrote: > CSS guru David Laakso very kindly gave me some code: > > br.both { > clear : both; > } > br.right { > clear : right; > } > br.left { > clear : left; > } > .clear { > height : 0; > clear : both; > } This effectively defines some helper classes for "clearing" - making sure that any floats are placed and further content appears below them. For example, with the following HTML extract: Left Right Left again Not floated try putting at various points in between the lines. Then try , etc. http://www.quirksmode.org/css/clearing.html Not quite sure about the "strict XHTML" part of your question though. It applies to HTML4 just as well. cheers, Tom Thanks for the reply Tom I checked out the different classes but it seems not to make any difference if there are or aren`t classes on the brs. Maybe it is because I checked it on IE? --------------------------------- Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/