So i have a inline nav.
However in IE it renders differently, so its put to the right of the first %26lt;ul%26gt; rather then under like FF and GC.
The form is:
%26lt;ul%26gt;
%26lt;li%26gt;
%26lt;ul%26gt;
%26lt;li%26gt;%26lt;/li%26gt;
%26lt;/ul%26gt;
%26lt;/li%26gt;
%26lt;/ul%26gt;Why does IE8(maybe also previous versions) render %26lt;ul%26gt; %26lt;li%26gt;%26lt;ul%26gt;%26lt;li%26gt;%26lt;/li%26gt;%26lt;/li%26gt;%26lt;/ul%26gt; differently.?
It's called ';standards compliance.'; There is a specification for how browsers are supposed to render HTML. IE is notorious for not following the published standards and for doing it ';Microsoft's way.';
Many frustrated web designers use ';defensive'; code in the HTML, that will branch to one set of instructions or another based on browser detection.
That's about the only way to coerce the display to your preference.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment