2011-01-26 62 views

回答

0

一個解決方案,我發現是擺脫在HTML所有空白的,所以這一點:

<li class="dir nav-item"><a href="./">ABOUT US</a> 
    <div class="subnav-con"> 
    <div class="nav-top"> 

    </div> 
     <ul class="nav"> 
      <li class="nav-item"><a href="./">HISTORY</a></li> 
      <li class="nav-item"><a href="./">VISION</a></li> 
      <li class="dir nav-item"><a href="./">TEAM</a> 
      </li> 
      <li class="nav-item"><a href="./">CLIENTS</a></li> 

      <li class="nav-item"><a href="./">TESTIMONIALS</a></li> 

      <li class="nav-item"><a href="./">PRESS</a></li> 
      <li class="nav-item"><a href="./">FAQ</a></li> 
     </ul> 
    <div class="nav-bottom"></div> 
    </div> 
    </li> 

變成這樣:

<li class="dir nav-item"><a href="./">ABOUT US</a><div class="subnav-con"><div class="nav-top"></div><ul class="nav"><li class="nav-item"><a href="./">HISTORY</a></li><li class="nav-item"><a href="./">VISION</a></li><li class="dir nav-item"><a href="./">TEAM</a></li><li class="nav-item"><a href="./">CLIENTS</a></li><li class="nav-item"><a href="./">TESTIMONIALS</a></li><li class="nav-item"><a href="./">PRESS</a></li><li class="nav-item"><a href="./">FAQ</a></li></ul><div class="nav-bottom"></div></div></li> 

有可能涉及CSS一個更合適的方法,但我我不會去找它,除非你真的想要我。

+0

謝謝你,你是一個生活節省 – digitalzoomstudio 2011-01-26 13:49:09