> -----Original Message-----
> From: Gunlaug Sørtun [mailto:gunla...@c2i.net]
> Sent: 21 February 2009 16:34
> To: Ian Young
> Cc: css-d@lists.css-discuss.org
> Subject: Re: [css-d] Margin not working!
> 
> 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.
> 

Thanks Georg. 
I knew it was simple - working too long on simple template.

Works a treat

Ian

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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/

Reply via email to