This page's ID: 5004
Welcome to the OzoneAsylum FaqWiki Frequently Asked Questions Webdesign
Most modern browsers will accept the following CSS:
body { + margin: 0; - margin: 0px; + padding: 0; - padding: 0px; }
Note: padding is required as Opera also adds padding to the page However, this will not work properly in older browsers (NS4.x and old versions of IE) and so if you want to make your page work for those browsers you'll need this extra code:
<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0">
Note: left/right/top/bottommargin are for IE and marginheight/width are for NS. ------------------- Relevant threads: +Layout without runing border color of background? -Layout without runing border color of background? +Table padding-spacing problems? -Table padding-spacing problems? ____________________ Emperor (Added by: Emperor on Fri 24-May-2002) (Edited by: Emperor on Fri 24-May-2002) (Edited by: HZR on Fri 08-Nov-2002) +(Edited by reisio on 07-11-2006 12:52)
« Backwards — Onwards »