这是代码:http: //jsfiddle.net/noamway/r8vMp/8/
<div id="website" style="width:100%;">
<div id="layoutAll" style="width:200px;margin:0 auto">
<div id="layout" style="width:100%;position:relative;">
<div id="full_strip" style="width:100%;background-color:black;color:white;height:100px;position:absolute;left:0;">
Hello world
</div>
</div>
</div>
</div>
而且我喜欢“full_strip”将是所有页面宽度的 100%。因为是父母的亲戚,我不能这样做。我无法从父母中删除任何设置,因此我需要对他进行表扬或其他可以告诉他忽略父母的东西。
谢谢,诺姆