我正在设计一个页面,该页面有两个左侧的表格(一个在另一个的下面),右侧的一个表格和中间的文本块。以下是我已经试过:在两个表格之间放置一段文字
CSS:
#left {
float:left;
padding-right: ;
}
#right {
float:right;
}
#center {
margin-left: ;
margin-right: ;
}
#text {
width:60%;
margin:0 auto;
}
HTML:
<body>
<div id="left">
<table style="width:; background-color:#>
...
</table>
<table style="width:; background-color:#">
...
</table>
</div>
<div id="right">
<table>
...
</table>
</div>
<div id="center">
<div id="text">
<h>My text goes here</h>
</div>
</div>
</body>
中央部分(文本)出现在页面的中间,但它是正确的下三张桌子(左侧和右侧),不在他们之间......我该如何解决它?
谢谢!
我在中间看到它,并且第一个和第二个表重叠:http://jsfiddle.net/72t0mjmf/ – 2014-09-02 21:32:32