I'm real new at this, so this may be a basic question, but I want to
get off on the right foot.
I thought it would be reasonable to use the following on a page:
body {
margin: 3em;
background-color: #666;
border: red medium double;
padding: 3em;
}
I thought that it would display the red border shifted in 3em from the
outside edge .. but instead the border is stuck against the edge
(IE6). Does that mean that the 'element box' concept does not apply
to the body element? I noticed that the margin size (3em) is being
accounted for, since if I change it, everything moves over. But I
don't understand why the border is not between the margin and padding
as described by the 'box'.
I know I can get a border like that by creating a div with the same
margin, and maybe that is the correct method. But I just thought that
this seemed correct. Am I missing something? Did a lot of hunting
and couldn't find any specific info on it.
Thanks... Terry