我对HTML或CSS了解不多,但我已经做了很多;我如何在彼此旁边堆叠div并在彼此之上?
我想堆div的,所以它看起来是这样的(请原谅坏图纸);
我用Google搜索如何和尝试不同的东西,而是喜欢/不喜欢总是盒最终没有移动或移动到最左边/非常正确。
<div style="float:left;width:300px;height:350px;text-align:center;">
<div style="float:left;width:500px;height:200px;text-align:center;">
<div id="wrapper">
<div style="align=center;">
<div id="first">1</div>
<div id="second">2</div>
这些是我有的三个div。 第一个有链接[添加/消息等]
第二个有“thelastgecko”和配置文件。
我试图用最后一个盒子来做喜欢/不喜欢的事情,但是不管我做什么都行不通。
http://stackoverflow.com/questions/1909648/stacking-divs-on-top-of-each-other –
使用'Z-index'此 –