2013-08-20 68 views
1

在我的xHTML菜单很好,但是当我上传到我的网站面包师菜单失败。网站菜单失败

的xHTML前瞻:http://eyesondesign.nl/xhtml/

Websitebaker前瞻:http://eyesondesign.nl/baker/

当使用XHTML代码对网站的面包师IM然后正常工作:)

的xHTML编码:

<div id="hoofdmenubalk"> 
      <a href="#" class="hoofdmenu">Home</a><span class="tussenstukhoofd"></span> 
      <a href="#" class="hoofdmenu">Biografie</a><span class="tussenstukhoofd"></span> 
      <a href="#" class="hoofdmenu">Band</a><span class="tussenstukhoofd"></span> 
      <a href="#" class="hoofdmenu">Muziek</a><span class="tussenstukhoofd"></span> 
      <a href="#" class="hoofdmenu">Tour</a><span class="tussenstukhoofd"></span> 
      <a href="#" class="hoofdmenu">Contact</a><span class="tussenstukhoofd"></span> 
     </div> 

网站贝克码:

<div id="hoofdmenubalk"> 
     <?php show_menu(1); ?> 
    </div> 

CSS代码:

a.hoofdmenu { 
font-family:Arial; 
font-size: 14px; 
color: #ffffff; 
text-decoration:none; 
padding:0px 15px 0px 15px; 
line-height:40px; 

}

a.hoofdmenu:hover { 
    font-family:Arial; 
    color: #f6f685; 
    text-decoration:none; 
    background-image:url('afbeeldingen/submenu.jpg'); 
    background-repeat:repeat-x; 
    line-height:40px; 
    padding:0px 15px 0px 15px; 
} 

a.hoofdmenu:active { 
    color: #f6f685; 
    text-decoration:none; 
} 

.menu { 
    position:relative; 
    z-index:100; 
    text-decoration:none; 
    list-style-type:none; 
} 

ul { 
    list-style-type:none; 
    float:left; 
} 

li { 
    float:left; 
} 

回答

0

你还在这个吗?你用show_menu得到的输出是什么?我看不到您链接到的那个网站上的菜单。 show_menu有许多选项/参数,你几乎可以得到任何你喜欢的输出。