<fieldset style="background-color:#5959DE">
<span> <a href="page2.html"> <strong> Profile </strong> </a> </span>
<span class="profilee"> <a href="page2.html"> <strong> Friends </strong> </a> </span>
<span class="profilee"> <a href="page2.html"> <strong> Pictures </strong> </a> </span>
<span class="profilee"> <a href="page2.html"> <strong> Updates </strong> </a> </span>
<span class="profilee"> <a href="page2.html"> <strong> Messages </strong> </a> </span>
<span class="profilee"><a href="page2.html"> <strong> Find </strong> </a> </span>
<input type=text size="20"/>
<span style="padding-left:2%"> <a href="page2.html"> <strong> Privacy</strong> </a> </span>
<span class="profilee"> <a href="page2.html"> <strong> Availability</strong> </a> </span>
<span class="privacy"> <a href="page2.html"> <strong> Sign Off </strong> </a> </span>
</fieldset>
問題我面臨的是它在Mozzilla和iE中的工作正常,但在谷歌瀏覽器中,標誌關閉跳到下一行。谷歌瀏覽器的問題?
我用
width:100%; width:100px; <!-- I mean I used % and px and em but none working-->
但它仍然無法正常工作。爲什麼它跳到谷歌瀏覽器的下一行?我怎麼能把它放在一條線上,即使在谷歌瀏覽器上?
工作正常,我在Chrome 13 http://jsfiddle.net/ –
@Ben:http://jsfiddle.net/8nJe7/ ftfy – mpen