CSS+div三行两列布局

2024-11-22 04:47:01
推荐回答(5个)
回答1:

float 少一个



复制下面的代码试试!





无标题文档







this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!



this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!this is word!







回答2:

我看得到的你这里就有2个问题,一个就是布局,mian的图层没有结束!另外一个就是你写#left_m样式的时候,把float写成floar,我换了这2个问题,页面就没有什么问题了!呵呵,如果还有问题就说来看看吧!

回答3:

right里面应该还写float:left,而不是float:right.

回答4:

float写成floar了

回答5:

clear:both
自己试试吧,印象深

相关问答