Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: CSS help required

That’ll work but can result in scrollbars or cutoff images in some cases. This is not a CSS forum… there are better places to learn this stuff… but briefly… I know of four methods to clear floats:

1. Use extra HTML markup to clear your floats (<br style=”clear:both;” />). Ugly but it works every time.

2. Use :after (the positioniseverything.net method) to do the same without the added presentational markup. But it doesn’t always work.

3. Float everything. But you may unleash a positioning nightmare.

4. Use overflow hidden or auto on the parent. But you may get scrollbars or cut off content in some cases.

Skip to toolbar