Dave Probert schrieb: > And the special bit - a blank container (div or span) after the tools, with > a style of 'clear:both' - this will stop the float. > > eg. > <div id='toolbar'> > > > > <span style='clear:both'> </span> > </div>
I consider the extra span (obsolete) presentational markup, you can achieve this with pure CSS and the :after pseudo element: <div id="toolbar"> </div> #toolbar:after { display: block; clear: both; content: " "; } For IE to trigger auto-clear we need to trigger layout: * html #toolbar, *:first-child+html { zoom: 1; } The only situation where the extra element is needed is when you run into the infamous guillotine bug in IE 6. -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/