[Javascript] OT: IE's handling of CSS body borders
Josiah Gordon
jgordon at directfile.com
Thu Oct 10 14:04:22 CDT 2002
Does anyone know why IE and Netscape/Mozilla render borders on BODY elements
differently with versions 6 and 7, respectively?
In IE the CSS below creates the look of a screen-centered IFRAME (with the
entire scrollbar inside of the border), but in Mozilla the page simply has a
blue border with the default scrollbar. Is Mozilla's implementation (the
"normal" way) the correct way?
The CSS:
border-width: 20px;
border-style: solid;
border-color: #6487DC;
Just curious. Saw this on Microsoft's Baseline Security Analyzer (highly
recommended) and thought it was a rather nice effect.
--Josiah Gordon
More information about the Javascript
mailing list