Forum Moderators: not2easy

Message Too Old, No Replies

Firefox: Top margin won't go away unless I add a top border

         

seanr1978

4:43 pm on Jul 14, 2005 (gmt 0)

10+ Year Member



Please take a look at this page:

URL removed - don't want it public yet now that it's fixed (sorry!)

The content is _supposed_ to be pushed right up against the top edge of the window. Instead, I'm getting at least a 20px gap. If I change the CSS for #container to give it a top border, the gap goes away. #*$!? I don't want a frigging border on the top - why won't the div go where it belongs without that border?

This stuff is infuriating! If I ever meet the people who wrote the CSS specs, they ae going to get one hell of an earfull from me!

[edited by: seanr1978 at 4:54 pm (utc) on July 14, 2005]

seanr1978

4:49 pm on Jul 14, 2005 (gmt 0)

10+ Year Member



Just got it working by adding the following to #container:

display:block; float:left;