Blogger分隔線問題 - 部落格

By Rebecca
at 2007-08-09T09:36
at 2007-08-09T09:36
Table of Contents
※ 引述《lionsno1 (獅子棒)》之銘言:
: http://tinyurl.com/3dx4hy
: 請教版上神人,我左邊欄在title "Recent Comments"下面有一條棕色的線,
: 別的格子都沒有,感覺不協調,有沒有辦法去掉那條線?
: p.s.需要把我的html放上來嗎?不好意思剛剛開始學blogger
其實可以跳到最後去看解決方式。
(不過我還是雞婆的解釋一下)
看了一下原始檔,之所以會這樣的原因是,
在你的CSS樣式表中側欄的標題格式是這樣:
.sidebar h2 {
margin: .5em 0 1.7em;
padding: 2px 10px;
background: url(背景圖片網址) top left; no repeat; font-size: 85%;
color: #F8F7F5;
border-bottom: 1px solid #AE9672;
border-top: 5px solid #AE9672;
}
然後在頁面結構中,顯示最新回應的語法中這段:
function handleCommentsyungjen(json) {
var temp = '<h2></h2><ul id="Feed001_feedItemListDisplay">';
var postshow=4;
var sortentry=json.feed.entry.sort(compareentry);
黃色的部份就是你說的「棕色的線」,其實就是側欄標題的背景。
紅色部分造成了額外的背景圖片出現。
所以解決方法就是在Recent Comment網頁元素的語法中,把<h2></h2>刪掉。
--
: http://tinyurl.com/3dx4hy
: 請教版上神人,我左邊欄在title "Recent Comments"下面有一條棕色的線,
: 別的格子都沒有,感覺不協調,有沒有辦法去掉那條線?
: p.s.需要把我的html放上來嗎?不好意思剛剛開始學blogger
其實可以跳到最後去看解決方式。
(不過我還是雞婆的解釋一下)
看了一下原始檔,之所以會這樣的原因是,
在你的CSS樣式表中側欄的標題格式是這樣:
.sidebar h2 {
margin: .5em 0 1.7em;
padding: 2px 10px;
background: url(背景圖片網址) top left; no repeat; font-size: 85%;
color: #F8F7F5;
border-bottom: 1px solid #AE9672;
border-top: 5px solid #AE9672;
}
然後在頁面結構中,顯示最新回應的語法中這段:
function handleCommentsyungjen(json) {
var temp = '<h2></h2><ul id="Feed001_feedItemListDisplay">';
var postshow=4;
var sortentry=json.feed.entry.sort(compareentry);
黃色的部份就是你說的「棕色的線」,其實就是側欄標題的背景。
紅色部分造成了額外的背景圖片出現。
所以解決方法就是在Recent Comment網頁元素的語法中,把<h2></h2>刪掉。
--
Tags:
部落格
All Comments

By Isla
at 2007-08-14T01:06
at 2007-08-14T01:06

By Caitlin
at 2007-08-14T23:10
at 2007-08-14T23:10

By Elma
at 2007-08-19T00:05
at 2007-08-19T00:05
Related Posts
有關於天空部落格的背景音樂設定

By Oscar
at 2007-08-09T04:53
at 2007-08-09T04:53
解決Window Live Writer 無法在MT上面發表的錯誤

By Dorothy
at 2007-08-09T02:06
at 2007-08-09T02:06
部落格小工具: 隱藏網頁元素&隱藏側邊欄

By Jacob
at 2007-08-08T22:14
at 2007-08-08T22:14
搶救宜蘭童玩節串連貼紙

By Iris
at 2007-08-08T19:28
at 2007-08-08T19:28
帳號二合一無名網友譙奇摩

By Gilbert
at 2007-08-08T19:24
at 2007-08-08T19:24