2013-01-23 236 views
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; 
} 
+1

什麼發生,你有什麼期待?是錯誤瀏覽器特定的? –

回答

0

看到此鏈接我希望這將有助於你jsfiddle.net/zRJUf/

0

我希望這是你的以後,而不是使用 邊界:1px的; 嘗試 box-shadow:0 0 2px 0#000000; jsfiddle.net/XYwc4/1