Page 1 of 1

CSS Rendering in Firefox and Internet Explorer

Posted: Mon Oct 15, 2007 10:11 am
by bussinessmenss
Hey guys, is it true that the output for the above will be different in both browsers?

Im trying to position a table right all the way to the top using CSS. Somehow, my desired output works in Firefox but not in Internet Explorer. The table doesnt stick all the way to the top edge in IE.

What do u tink i should do?

CSS Code:
table {
position: fixed;
top: -1px;
border-collapse:collapse;
}

Posted: Mon Oct 15, 2007 10:27 am
by Charles256
position:absolute;
top:0;
margin:0;
padding:0;

Might be what you're looking for but the use of position:absolute; could cause other layout headaches. Let me know if that is what you were looking for.

Posted: Mon Oct 15, 2007 10:28 am
by matthijs
Did you set the body's margin and padding to zero?