1

I have this CSS StyleSheet.

.visitscroll  {float:left;  width:750px; }
.visitscroll .interiorleft {width: 375px;  float: left;}
.visitscroll .interiorright {width: 375px; float: left; }
.visitscroll .fullwidth {float:left; width:750px; }

The left Column and right column and aligned properly, but I want to make a div below the the left and right column that is the full width. When I put something into the fullwidth div, it turns the page into one column.

So what I want is this:

A     |   B
      C

What I am getting is this:

A
B
C

I have confirmed that my div closing tags are correct, and am stuck on trying to figure this out.

All help is graciously appreciated!

4

2 に答える 2

3

要素に次のことをさせたい場合:

フロート要素の横で泡立たない

clear: leftclear: rightまたは無視するフロートに応じて設定clear: bothします。

コンテナの幅にまたがる

設定float: none

于 2013-04-17T18:53:45.960 に答える