2012-05-16 30 views
0

您可以查看這裏的問題: http://www.callensewout2011.dreamhosters.com/results.php?q=frankrijkCSS3列寬度:含量在離開時,水平滾動

誰知道如何解決這個問題?

<div id="result-wrapper"> 
<a href="article.php?articleId=173&amp;q=frankrijk"> 
      <div class="tile" id="tile1"> 
       <div class="tileTextEmpty"> 
        <img src="img/logos/hbvl.png" alt="Logo van Het Belang Van Limburg"> 
       </div> 
       <div class="tileText"> 
        <h4>Vliegtuig Hollande getroffen door bliksem </h4> 
        <p>De kersverse nieuwe Franse president François Hollande heeft dinsdag voor het eerst de Duitse kanselier Angela Merkel ontmoet. Hollande moest zijn reis naar Duitsland wel even...</p> 
       </div> 
      </div> 
    </a> 
</div> 

#result-wrapper { 
    -webkit-column-width: 340px; 
    -webkit-column-gap: 0px; 
    height: 649px; 
    width: 1024px; 
    overflow-y: auto; 
    background-color: 
    black; 
} 

.tile { 
    height: 325px; 
    background-position: center top; 
    background-repeat: no-repeat; 
    background-size: 340px; 
    background-color: 
    black; 
} 

.tileTextEmpty { 
    width: inherit; 
    height: 155px; 
    text-align: left; 
} 

.tileText { 
    height: 135px; 
    padding: 10px; 
    background-color: black; 
    opacity: .8; 
    color: #EAEAEA; 
    text-align: left; 
} 

回答

0

有一個hbox模塊。它可以幫助:

http://ajaxian.com/archives/css-3-flexible-box-model

+0

但是靈活盒模型亙古不變的其他工作比Mozilla和WebKit瀏覽器 – Ravi

+1

@Ravi這樣做的列和實際上靈活的盒子模塊是由IE10支持的。 http://msdn.microsoft.com/en-us/library/ie/hh673531%28v=vs.85%29.aspx – xiaoyi

+0

不錯,IE瀏覽器在所有瀏覽器巨頭已經實施了很久之後最終把它帶回來:) – Ravi