我想創造這個設計的WP模板: http://minus.com/lbi1iH25EcKsu7格,不觸發水平滾動
現在我是這樣的:http://www.uncensuredftw.es/plantilla-blueftw/boilerplate/index.html
我認爲你可以得到的總體思路; )
我知道... 是我的錯:瀏覽器計算窗口的大小由左到右,所以如果我把它利潤率將移動的分度,100%尺寸脫權。
但事實是:我不知道如何使它工作 :(
我想使「黑網吧」有申報單(我畫的那些比不工作的紅色和橙色)和技巧的工作......但只有左邊的那些像我想要的那樣工作
我想出來的想法,我想盡我所能想到的一切,沒有任何工程 也許你可以幫我嗎?;)
這是html代碼:
<div class="barraUL"></div><div class="barraDL"></div>
<div class="presentacionbg"></div>
<div class="presentacion">
<div class="barraUR"></div><div class="barraDR"></div>
這的CSS:
.barraUL {
position: absolute;
width: 50%;
height: 27px;
background-color: black;
right: 50%;
margin-right: 500px;
margin-top: -20px;
}
.barraDL {
position: absolute;
width: 50%;
height: 27px;
background-color: black;
right: 50%;
margin-right: 500px;
margin-top: 309px;
}
/* This next two are the ones than "doesn't work" */
.barraUR {
position: absolute;
width: 50%;
height: 27px;
background-color: red;
left: 50%;
margin-left: 500px;
margin-top: -4px;
}
.barraDR {
position: absolute;
width: 50%;
height: 27px;
background-color: orange;
left: 50%;
margin-left: 500px;
margin-top: 325px;
}
究竟是什麼問題?右欄不顯示漸變? – Kwon 2012-08-09 05:44:45
你可以做一個小提琴,讓我們可以在它上工作[小提琴](http://jsfiddle.net/) – 2012-08-09 05:46:06
權,問題是水平滾動...「酒吧」都可以,但我想能夠將窗口大小調整爲1024或類似的大小,而不觸發水平滾動條。正如你可以在鏈接中看到的,兩個右邊欄(彩色的)觸發滾動條,因爲保證金爲:( – Ark 2012-08-09 05:49:56