CSS rule ignored in IE8 Quirks Mode.

Posted by ProfK on Stack Overflow See other posts from Stack Overflow or by ProfK
Published on 2010-05-04T14:14:26Z Indexed on 2010/05/04 14:18 UTC
Read the original article Hit count: 363

I have a ul/li based side menu, styled with two CSS rules, the following of them is ignored by IE8 Quirks mode, and I assume IE6:

ul { padding-left: 15px; }

I can reproduce the problem in FF by removing this rule completely. I have also tried using jQuery to apply the rule, with no change in IE8:

$("ul.menu-class").find("ul").css("padding-left", 15);

Is this a box model issue, and, how can I reduce the UL 'padding' in IE Quirks Mode?

© Stack Overflow or respective owner

Related posts about web-development

Related posts about internet-explorer