I'd say it's probably caused by a margin on the first element. You could try setting h2 margin: 0;
dunno if it's FF or IE at fault here, but I know which one I'd bet on :) Rob > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > dann s washko > Sent: Friday, 13 May 2005 8:31 AM > To: [email protected] > Subject: [css-d] mysterious margin problem in Firefox and Safari > > > I was putting together a skeleton of a page when I noticed a curious > problem in Firefox (Linux, OS X, Windows) and Safari that > does not seem > to exist in IE (6) on Windows. The page in question: > http://tinyurl.com/a245j I colored the sections to identify the problem more clearly. Note that between the header and the main content there is a margin. The left menu is floated. Any block level elements (header, paragraph) on the first line of the main content area will cause the margin to appear. A simple <br /> tag will prevent the margin from appearing as will inline elements or just plain text. Block level elements on any other line do not seem to cause this problem. I can see what causes the problem, I am just now sure why this is happening. One suggestion has been to add this to change the content class to this: .content { background-color: rgb(255, 255, 255); width: 640px; margin-left: 155px; padding-left: 5px; padding-top: 0.1px; } -- Dann S. Washko The Linux Link Tech Show Check Us Out Weekly: Live/Stream/Podcast http://www.thelinuxlink.net The Linux Link Web Radio Portal TLLTS -- LUGRadio -- The LinuxBox Show get slack (www.slackware.com) and get happy ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
