0
我目前在添加边界到我的布局上的border-radius边界时遇到问题。我尝试了一堆不同的东西,但无法让它工作。请帮帮我。我将在下面提供HTML & CSS源代码。css布局布局错误
HTML:
<div class="colmask fullpage">
<div class="col1">
<!-- Column 1 start -->
...content goes here...
<!-- Column 1 end -->
</div>
</div>
CSS:
/* column container */
.colmask {
position: relative; /* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
clear: both;
float: left;
width: 100%; /* width of whole page */
overflow: hidden; /* This chops off any overhanging divs */
}
/* 1 column full page settings */
.fullpage {
background: #fff;
}
.fullpage .col1 {
margin: 0 1em;
}
什么发生,你有什么期待?是错误浏览器特定的? –