SyntaxHighlighter

Tuesday, September 26, 2006

Containing floating elements

A common problem with using XHTML and avoiding tables - containing the floating left and right elements on the page so the parent element completely wraps the children. If you are making a left nav, using a < id="leftnav"> approach, you've probably struggled with this at some point.

Here is a great article by Ed Eliot explaining a few strategies for fixing this.

http://www.ejeliot.com/blog/59

1 comment: