我对网页设计相当陌生,但很好地理解它。只是,当涉及数学时,我完全迷失了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