Forum Moderators: open
In a pinch, you might also use a rule like #corner {position:absolute;top:0;left:0;z-index:0;} with <img id="corner"> for the image involved, but that's usually not the best approach.
There are other approaches that just work on "some" browsers with "some" DTD's - but the above approach is standard. I suggest avoiding "leftmargin=0 topmargin=0 marginheight=0 marginwidth=0" and such, because they are proprietary IE attributes and will cause trouble with strict DTDs and cross browser rendering.
body {
margin:0;
padding:0;
} I suggest avoiding "leftmargin=0 topmargin=0 marginheight=0 marginwidth=0" and such, because they are proprietary IE attributes
I think that two of them are proprietary IE attributes, and the other two are proprietary Netscape ones. Can't remember which one's which, though! Definitely not recommended, as they'll never validate with any doctype - but if you absolutely need 100% Netscape 4 compatibility, then you're forced to use them because Netscape 4 doesn't manage with just the CSS solution.