0

我遇到了我的问题,我homeWrapperContentRight无法让它与我的homeWrapperContentLeft. 当我这样做时,我有什么建议吗?

直播网址

CSS:

.homeWrapperContentLeft{
    width:628px;
    height:825px;
    clear: both;
}

.homeWrapperContentRight{
    float: right;
    width:250px;
    height:849px;
}
4

3 回答 3

0

添加display: inline到你的.homeWrapperContentLeft,你就完成了。

于 2013-04-07T05:23:42.280 回答
0

试试这个(基于你的 CSS):

.homeWrapperContentLeft {
    display: inline-block;
    width:628px;
    height:825px;
}

.homeWrapperContentRight {
    display: inline-block;
    width:250px;
    height:849px;
}
于 2013-04-07T05:24:16.247 回答
0
.homeWrapperContentLeft{
    width:628px;
    height:825px;
    clear: both;
    display: inline;
}

.homeWrapperContentRight{
    float: right;
    width:250px;
    height:849px;
    display: inline
}

我尝试了这些行,它在 Chrome 中工作。希望能帮助到你!

于 2013-04-07T05:25:55.350 回答