TheInsider
Programmer
Hello,
I have an html page in which I set the
tag to:
In Internet Explorer 6 this gives me a page with a 10 pixel margin at the top AND bottom. In Netscape 7 this only gives me a 10 pixel margin at the top, but nothing at the bottom.
I like the behavior of Internet Explorer 6, but can't get Netscape 7 to replicate it.
is not recognised in Netscape either.
I have tried using style sheets to set the margin bottom to 10 pixels:
however, none of these work.
If it matters, I have a couple
tags enclosed in a pair of
tags, like:
How can I get IE6 and NS7 to both display top and bottom margins of 10 pixels in the
?
I have an html page in which I set the
Code:
<BODY>
Code:
<BODY TOPMARGIN="10">
I like the behavior of Internet Explorer 6, but can't get Netscape 7 to replicate it.
Code:
BOTTOMMARGIN
I have tried using style sheets to set the margin bottom to 10 pixels:
Code:
BODY {
MARGIN-BOTTOM:10px;
PADDING-BOTTOM:10px;
BORDER-BOTTOM:10px SOLID WHITE;
}
If it matters, I have a couple
Code:
<P></P>
Code:
<DIV></DIV>
Code:
<HTML>
<HEAD>
</HEAD>
<BODY TOPMARGIN="10">
<DIV STYLE="HEIGHT:100%">
<P>hello world line 1</P>
<P>hello world line 2</P>
</DIV>
</BODY>
</HTML>
Code:
BODY