...

View Full Version : Resolved Expanding boxes (simple)



Ludatha
10-24-2011, 05:46 PM
Hello

I can't seem to work out why, but my content boxes won't go round my content, here is an example:

http://www.genyx.co.uk/index.php?_a=product&product_id=59

I have to use min-height to get it to get bigger, without it you just get the height of the padding.


#product_detail {
min-height: 220px;
padding: 10px;
border:1px solid #DDD;
-moz-border-radius:5px;
-webkit-border-radius:5px;
-o-border-radius:5px;
border-radius:5px;
background:#FFF;
margin: 10px 20px 5px 0px;
}

Can anyone help me make it automatically adjust the size.

Thanks

teedoff
10-24-2011, 06:12 PM
Add:

overflow: auto;

to your #gallery style rule.

You should be able to then remove the min height style.

Ludatha
10-24-2011, 06:28 PM
Add:

overflow: auto;

to your #gallery style rule.

You should be able to then remove the min height style.

Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum