> I prefer to use <div class="clear"></div> and in my css use
> div.clear {
> clear: both;
> }
>
> but I find that sometimes it doesnt work at all and I have only been able to
> get clearing by reverting to the break tag again
>
> <br clear="all" />
>
> this is fine for the most part on transitional doc types but its not when
> I'm going strict as its not valid.
>
> 1) has anyone else experienced this
> 2) what causes it
>
> I'm not really looking at the alternative clearing methods, I'm wondering
> why sometimes the .clear doesnt work.Why don't you just clear the following element or also float the parent element with a proper width? That and the easyclearing method[1] works without any extraneous markup. [1] http://www.positioniseverything.net/easyclearing.html -- Chris Heilmann Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ Binaries: http://www.onlinetools.org/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
