<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Safari float/margin-top bug</title> <style type="text/css"> <!-- #foo { border:1px solid black; margin-top:0.5em; width:25em; float:left; } --> </style> </head> <body> <!-- explanation at: http://www.paranoidfish.org/notes/2003/01/08/1500/ --> <div id="foo">this div disappears in Safari</div> </body> </html>