Ian Young wrote:
> Top margin in inner div is just pulling both divs down rather than
> having border all round.
>
> See http://www.iyesolutions.co.uk/templates/css/portfolio-test.php
Vertical margins are collapsing[1].
Add...
#wrapper {overflow: hidden;}
...to contain them.
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/