<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
This is a simple testcase using percentage width. If you don't make the padding and margin of the <body> element zero, then you wind up with scroll bars since a percentage width is based on the width of the parent block. If you still want to have padding and or margins on the body element, or whatever other containing element. Then the solution is to use:
But of course that doesn't work in IE. For IE, then, some hacking is in order.
I haven't experimented much with this feature, so you might want to read up on it on MSDN to see what it allows.
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design