Ron Zisman wrote:
> http://www.ricochet.org/ricotest/ricotest.html
> problem. file validates as css and xhtml 1, but it's not picking up
> the background image i've assigned to the #outerwrap.
The background-image is picked up, but #outerwrap looks and behaves like
it's struck by "collapsing margins"[1]
Adding either...
#outerwrap {
float: left;
}
...or...
#outerwrap {
padding: 1px 0 0 0;
margin: -1px 0 0 0;
}
...will reveal the background-image.
These fixes also reveal a weak spot in the styling of h2, in that IE/win
has its own interpretation of 'margin:auto;' on these elements -
creating what looks like unwanted gaps in IE/win.
Change that to...
h2 {
margin: 0 auto;
}
...and IE/win will get back in line.
Declare specific top and bottom margins if you want any.
regards
Georg
[1]http://www.w3.org/TR/CSS21/box.html#collapsing-margins
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/