Ludatha
10-24-2011, 04: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
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