Hi

I have been using the following:

/* clear this fix */
.clearThis:after {
content: "."; display: block; height: 0; clear: both; visibility: hidden;
}
/* Hides from IE-mac \*/
* html .clearThis {height: 1%;}
/* End hide from IE-mac */

more information at

http://www.positioniseverything.net/easyclearing.html

odd behavior in safari

Julián Landerreche wrote:


If I remove the second rule (or remove the set of properties), the page is displayed correctly.

No, it doesnt display correctly....
It seems that the empty div must have some content (like ".") to clear the floated div.
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to