开发者

div not expanding to new content in IE8

I have a div A and another div B inside it. Using jquery i get data and insert into HTML() in div B, div A does not expand its length and div B overflows over the bottom.

Here is its CSS:

#A {
    position:absolute;
    top:30px;
    left:0;
    background-color: #FFFFFF;
    width:920px;
    display:block;
    padding: 0 0 30px 0;
    overflow:auto;
    text-align:left;
}

.B {
    display: inline-block;
    *display: i开发者_开发知识库nline;
    zoom: 1;
    vertical-align: top;
    width: 425px;
}


Might be time to post a link to this one!

Failing more info, perhaps try height:auto; on #A, or remove overflow:auto.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜