Content-wrapper長度無法達到頁尾該怎묠… - 部落格

By Hedy
at 2008-04-16T13:51
at 2008-04-16T13:51
Table of Contents
※ 引述《Rhomboid (維尼)》之銘言:
: 我用Blogger系統,網址http://stuartliu.blogspot.com/
: 最近試著幫自己的Blog上色
: 現在把 sidebar-wrapper設成綠色
: outer-wrapper設成灰色
: content-wrapper設成藍色
: 如各位所看到的,
: 在Firefox下面sidebar, content以及outer wrapper的顏色到一半就消失了
: 在IE下面比較好,但是Sidebar顏色還是半途消失
: 請問各位這個問題該怎麼解決呢?
: 先謝謝大家了!
Sidebar因為內容的關係,所以不會延伸
其他地方顏色一半就消失
是因為float屬性寫的不對導致
CSS:
找到 #sidebar-wrapper
增加 float:left; 這個屬性
然後把 margin 改成 0
html部份:
找到<div id="sidebar-wrapper">......</div>這塊
在他後面加上
<div style="clear:both;"></div>
就可以解決
--
有空來看看這兒:http://foreverahow.blogspot.com/
我的部落格!
--
: 我用Blogger系統,網址http://stuartliu.blogspot.com/
: 最近試著幫自己的Blog上色
: 現在把 sidebar-wrapper設成綠色
: outer-wrapper設成灰色
: content-wrapper設成藍色
: 如各位所看到的,
: 在Firefox下面sidebar, content以及outer wrapper的顏色到一半就消失了
: 在IE下面比較好,但是Sidebar顏色還是半途消失
: 請問各位這個問題該怎麼解決呢?
: 先謝謝大家了!
Sidebar因為內容的關係,所以不會延伸
其他地方顏色一半就消失
是因為float屬性寫的不對導致
CSS:
找到 #sidebar-wrapper
增加 float:left; 這個屬性
然後把 margin 改成 0
html部份:
找到<div id="sidebar-wrapper">......</div>這塊
在他後面加上
<div style="clear:both;"></div>
就可以解決
--
有空來看看這兒:http://foreverahow.blogspot.com/
我的部落格!
--
Tags:
部落格
All Comments

By Belly
at 2008-04-17T07:40
at 2008-04-17T07:40
Related Posts
blogger上的照片可以直接被捉下來@@

By Mason
at 2008-04-16T11:14
at 2008-04-16T11:14
wordpress 2.2.x to 2.5 無痛升級法

By Ula
at 2008-04-16T10:59
at 2008-04-16T10:59
Blogger文章分頁功能

By Olivia
at 2008-04-16T09:59
at 2008-04-16T09:59
想與大家分享我的部落格..

By Mia
at 2008-04-16T04:30
at 2008-04-16T04:30
Re: PTT Blog板友簽到簿(PTTBlogRolling!)

By Hazel
at 2008-04-16T03:43
at 2008-04-16T03:43