The magic of <div style="clear:both">

| | Comments (0) | TrackBacks (0)
As I am deep in the innards of the HTML and CSS of the web site I'm working on, I've found that <div style="clear:both"></div> is a really useful tool. It basically sets an invisible horizontal rule for starting a new section of content. Funny thing is that you have to have the explicit closing tag for it to work; <div style="clear:both" /> won't do it.

0 TrackBacks

Listed below are links to blogs that reference this entry: The magic of <div style="clear:both">.

TrackBack URL for this entry: http://www.kpao.org/trackback/193

Leave a comment

About this Entry

This page contains a single entry by Dave Cortright published on April 30, 2008 10:00 AM.

Blog (noun); see blog was the previous entry in this blog.

Bluetooth is (too) Hard is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.