使我的菜 The留在 Chrome内是一个问题。
www.un.org/Depts/DGACM/index_spanish.htm 图像:
Edit : I was right, The problem was exactly related to rendering Asp.Net bulletin list Control, and not the HTML ! And it should be called as one of the bugs of Google Chrome. Somebody deleted the Asp.Net tag wrongly, so I added it again, I think maybe one change in CSS could make it understandable for the WebKit browsers, a hack a trick, or something similar could help
The source will work as expected in Firfox 8+ and IE 9 as I tested, but the menu will drop one step down in Chrome and Safari (WebKit) ! Here You have the details, any helps is greatly appreciated
The menu used Asp.Net Bulletin List Control
www.un.org/Depts/DGACM/index_spanish.htm 这是《刑法》:。
<div id="mainmenu">
<asp:BulletedList id="nav" Runat="server" DisplayMode="HyperLink" Target="_self" EnableViewState="false">
<asp:ListItem
Text="Home"
Value="" />
<asp:ListItem
Text="Contact Us"
Value="#" />
<asp:ListItem
Text="About Us"
Value="#" />
</asp:BulletedList>
</div>
www.un.org/Depts/DGACM/index_spanish.htm 采用DevTools, Chrome将显示<>Gap。 * E/CN.6/2009/1。
<div id="mainmenu">
<ul id="nav">
<li><a href="default.aspx" target="_self">Home</a></li><li><a href="contact.aspx" target="_self">Contact Us</a></li><li><a href="about.aspx" target="_self">About Us</a></li>
</ul>
</div>
Here as you can see there is a gap (Just viewable via the DevTools ), when I remove this gap the rendering issue will be disappeared . It s source via "view source" seems normal ...
www.un.org/Depts/DGACM/index_spanish.htm Edit - The Generated RUS COde :
<div id="mainmenu">
" "
At Last If I change the bullet List simply to the below code, It ll work on them :
<ul id="nav">
<li><a href="../default.aspx">Home</a></li>
<li><a href="../contact.aspx">Contact Us</a></li>
<li><a href="../about.aspx">About</a></li>
</ul>