我對網頁設計相當陌生,但很好地理解它。只是,當涉及數學時,我完全迷失了O.O.幾乎我在導航欄上做的是,我創建了一個精靈,現在使用精靈的兩個不同的一半來創建鏈接效果。哦,還有超鏈接涉及btw也是我用跨度標籤堵塞所以是的。所以,如果有人可以請幫助我,這裏是我的樂隊頁面http://atfamusic.hostei.com/#(在Firefox中最好的工作還是要解決這個問題),沒有太多關於它的東西,所以是的。代碼是(對於css)我需要一些幫助對齊我的導航欄在css
#navigation { margin:0; padding:0; width:900px; height:50px;
background-image:url(navigation-background.gif); }
#navigation li { margin:0; padding:0; list-style-type:none; display:inline; height:44px;
text-align:center; float:left; line-height:40px; }
#navigation a { display:block; height:44px; }
#navigation a:hover { background-image:url(navigation-background.gif); }
#nav-bio {width:81px; }
#nav-bio a:hover { background-position:85px bottom; }
#nav-photos { width:116px; }
#nav-photos a:hover { background-position:-166px bottom ; }
#nav-music { width:102px; }
#nav-music a:hover { background-position:-197px bottom ; }
#nav-videos { width:108px; }
#nav-videos a:hover { background-position:-278px bottom; }
#nav-external sites { width:202px; }
#nav-external sites a:hover { background-position:-556px bottom; }
#nav-merch { width:120px; }
#nav-merch a:hover { background-position:-1112px bottom; }
#navigation span { display:none; }
所以是啊,請幫忙。哦,如果有人可以找出爲什麼標題不對齊在互聯網瀏覽器,這將是偉大的! :)
P.S.如果願意做額外的中心導航欄以及\ m /那真棒。對不起,如果我吸了,是一個新手:P
您可以通過'@ font-face'塊嵌入字體,而不是使用圖像,只需使用實際字體。 – Blender