How to auto adjust the <div> height according to content in it?

Posted by OM The Eternity on Stack Overflow See other posts from Stack Overflow or by OM The Eternity
Published on 2010-05-27T10:03:23Z Indexed on 2010/05/27 10:11 UTC
Read the original article Hit count: 150

Filed under:
|
|

I have a which needs to be auto adjusted according to the content in it.. how can i do this, right now my content is coming out of the

the class i have used fo that div is as follows

box-centerside  {
background:url("../images/greybox-center-bg1.jpg") repeat-x scroll center top transparent;
float:left;
height:100px;
width:260px;
}

pls help

© Stack Overflow or respective owner

Related posts about html

Related posts about css