Firefox 3.5现在支持nth- *伪类,这就是我用来定位Safari和Chrome的CSS的方法.现在Firefox也会读取这些内容,导致布局问题.有谁知道专门针对FF 3.5的方法? BODY:nth-of-type(1) #topsearch input[type=submit]
          BODY:nth-of-type(1) #topsearch input[type=submit] /* Safari 3.1+ and Chrome */ { 
     height:19px 
}
 怎么样,我在Safari 4中进行了测试,高度为19px,在Firefox 3.5中,高度显示为39px. 
  
  
 <style>
BODY:nth-of-type(1) #topsearch input[type=submit] /* Safari 3.1+ and Chrome */ { height:19px }      
BODY:nth-of-type(1) #topsearch input[type=submit], x:-moz-any-link, x:default { height: 39px; }
</style>
        
             