加了一條選單後的問題 - 部落格

Una avatar
By Una
at 2009-08-08T10:06

Table of Contents

我的blog:http://huchichi.blogspot.com/

我是直接下載了METAMUSE的範本 Blackcat2.5
後來從我朋友的blog移植拼湊了那條選單(home photo flickr...)
對css並不瞭解 就每個數據邊改邊測試 弄了一整晚

就要弄好了 卻只差最後一個問題
就是右邊那一欄無法跟左欄對齊了

我預期的是這樣
└────────────────────┘
┌───┐┌──────────┐┌───┐
│ │└──────────┘│ │
│ │┌──────────┐│ │

但現在的是這樣

└────────────────────┘
┌───┐┌──────────┐
│ │└──────────┘ 空一塊
│ │┌──────────┐┌───┐
│ ││ ││ │

我把新加的選單 有關所有的編碼都砍掉 就又可以跟左欄對齊了
所以推測是選單的編碼沒有完全弄妥

那麼可以幫我看看哪邊需要改掉的嗎?


#navmenubar{
height:25px;
line-height:25px;
width: 498px;
float: left;
margin-left: 10px;
margin-right: 5px;
margin-top: 0px;
margin-bottom: 5px;
padding-left: 10px;
text-align: center;
background:#000000;
color:#6728B2;
}

#navmenubar li{
float:left;
list-style-type:none;
border-left:10px solid #000000;
border-top:0px solid #000000;
border-right:10px solid #000000;
border-bottom:0px solid #000000;
white-space:nowrap;
}

#navmenubar li a{
display:block;
padding:0 10px;
font-size:18px;
font-weight:normal;
text-transform:lowercase;
text-decoration:none;
background-color:inherit;
color: #6728B2;
}

* html #navmenubar a {width:1%;}
#navmenubar .selected,#navmenubar a:hover{
background:#6728B2;
color:#B4003C;
text-decoration:none;
}


--

All Comments

Rebecca avatar
By Rebecca
at 2009-08-11T16:03
#sidebar-wrapper { 後面加入
Hardy avatar
By Hardy
at 2009-08-12T18:07
margin:-30px 0 -30px; 試試看
Caitlin avatar
By Caitlin
at 2009-08-12T20:34
margin 後面可以放四個數字 分別是上下左右
Christine avatar
By Christine
at 2009-08-13T02:46
好了耶!謝謝你 我卡關了一整晚...
Jacky avatar
By Jacky
at 2009-08-15T03:56
沒事可以多來晃晃 我之前也碰過類似的問題

blogspot掛了嗎?

Ingrid avatar
By Ingrid
at 2009-08-08T02:06
http://tinyurl.com/nypuux 抓個圖紀念一下 之前有公告要停機嗎? -- 甚麼是安全感? 就是禮拜天不想出門~但身上還有兩包煙的感覺 new http://desw.blogspot.com/ old http://blog.xuite.net/desw/BLOG - ...

版面加入連結外站的圖示

Bethany avatar
By Bethany
at 2009-08-08T01:22
我試過加入這串程式碼 andlt;div class=and#39;hideand#39; id=and#39;topnavand#39;andgt; andlt;div id=and#39;topnav-innerand#39;andgt; andlt;div class=and#39;floatrigh ...

plurk可以隱藏好友嗎

Blanche avatar
By Blanche
at 2009-08-07T23:47
可以像無名一樣隱藏嗎? 阿 阿 阿 誰可以解答我呢 - ...

發噗問題

Oscar avatar
By Oscar
at 2009-08-07T22:43
要發噗卻沒辦法 跳出視窗說無法發噗要等一分鐘後再試 我是對方粉絲 這有關嗎??? - ...

噗浪當機 網友罵翻天

Irma avatar
By Irma
at 2009-08-07T21:33
颱風來襲》噗浪當機 網友罵翻天 【15:04】 http://iservice.libertytimes.com.tw/liveNews/news.php?no=251919 〔本報訊〕莫拉克颱風來襲,全台強風豪雨,大部分地區皆放了一天颱風假。無處可去的 民眾只能待在家中上網打發時間,但根據網友透露,日前爆 ...