I have seen this happen before, but the causes can be various. In your case it looks like simply a matter of neglecting to use a DOCTYPE. With this script, one should have at least a:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
DOCTYPE. This one is recommended:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
That wil do it or IE 7. For 6, you may need to add to your stylesheet:
Code:
* html body {
margin:0;
}
Bookmarks