css - padding not even in IE -


If you paste the following code into test.html and browse with Firefox, OK. But if you browse with IE, you can see that & lt; A & gt; has more space on the right side of the element.

  & lt; Style & gt; Li {display: inline; Margin: 0 90px; Padding: 6px 12px; Background: # 777777 Scroll To No Repeat 0 0; } Lee Ek {Color: #FFFFFF; Text-decoration: none; font-weight: bold; } & Lt; / Style & gt; & Lt; Div id = "tab" & gt; & Lt; Div class = "nav" & gt; & Lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "test" & gt; Trial & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "test" & gt; Trial & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "test" & gt; Trial & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "test" & gt; Trial & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "test" & gt; Trial & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt; & Lt; / Div & gt;  

Edit : How can I create text in IE?

Just to answer your question: all your li elements Keep one row or float them.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -