4
我遇到溢出問題:隱藏在我的情況下不工作。CSS溢出:隱藏;不起作用
我有一個div id = ticker,它基本上像一個滾動報價器一樣工作。所以我在前面加上動態內容DIV ID =股票
的DIV ID =股票被包含在其中包含在另一個DIV另一個div基本上認爲它像4-5級樹狀結構
體 - > div [id = wrapper] - > div [class = main] - > div [class = content] - > div [class = frame] - > div [class = bg] - > div [class = primary-content] - > DIV [ID =股票]
繼承人的CSS ...
#wrapper {
width: 942px;
margin: 0 auto;
position:relative;
overflow:hidden;
}
.main{
width:942px;
margin:163px 0 0;
overflow:hidden;
}
.content{
background:url(../images/content-bg.gif) repeat-y;
overflow:hidden;
width:662px;
float:left;
}
.frame{
background:url(../images/frame-bg.gif) no-repeat 0 0;
width:662px;
}
.bg{
background:url(../images/bg-bg.gif) no-repeat 0 100%;
width:662px;
overflow:hidden;
}
.primary-content{
padding: 12px 20px 40px 22px;
width:620px;
overflow:hidden;
}
#ticker {
overflow: hidden;
}
而且如果它可以幫助 - 的股票div包含的DIV [列表類= breadcrumps],而我試圖滾動
.breadcrumbs{
border-bottom:1px solid #ebebeb;
padding:6px 0 6px 0;
overflow:hidden;
clear:both;
}
我看到的是 - 當我在前面加上breadcrumps股利股票,頁面/股票名單還在不斷變大:(
任何幫助,將不勝感激。
謝謝。
噢是的有道理,相當合乎邏輯:)我把股票的高度放在股票行情,它的工作原理。 非常感謝您的幫助。 雖然我的breadcrumps div裏面的股票是可變高度,所以有一個固定的股票股利沒有意義,但我想這是唯一的解決方案似乎。 – kapso 2010-04-07 02:15:32