Static News Archive
|(6-Aug-07 9:22) Valid W3C for a 0 margin html body|
Making webpages with images that sit hard against the browser border is often done using body attributes as follows:
<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">
While this seemingly standard method seems to work just fine in most browsers, those attributes are not W3C compliant.
A W3C friendly alternative is to use style sheets as follows:
This will give the same effect, and ensure that your webpage is following proper W3C standards.
|Post a comment|
|<- (20-Jul-07 14:16) Sony erricson brings...||(8-Aug-07 10:11) Apple brings out new... ->|