Jump to content
  • 0

Лишний отступ тег li, ul. Баг в IE


Sven
 Share

Question

Доброе время суток, уже сколкьо времени не могу разобраться в чём проблема. Имеется меню создано с помощью ul, li. В Опере, ФФ, Хроме - всё хорошо, а в ИЕ получается двойной отступ (Или мне так кажется)

Код меню

<dl class="left_menu"> 
<dt class="lm_title"><span><b class="lmt_ico"> </b><b class="lmt_sh"> </b>Заголовок</span></dt>
<dd>
<ul class="sub">
<li><a href="#">Заголовок</a></li>
<li><a href="#">Заголовок</a></li>
<li><a href="#">Заголовок</a></li>
<li><a href="#">Заголовок</a></li>
<li><a href="#">Заголовок</a></li>
</ul>
</dd>
</dl>

Код CSS

.left_menu {font: 12px Arial, Helvetica, sans-serif; }
.left_menu li {padding: 0;}
.left_menu a:link, .left_menu a:visited {color: #717171;}
.left_menu a:hover {color: #000000;}
.sub {padding: 3px 8px 12px 35px;}
.sub li {padding: 2px 0 2px 22px; border-bottom: 1px dotted #a8a59d; background: url(/forum/images/im/lm_arrow.gif) 0 8px no-repeat; white-space: nowrap; }
.lm_title span {height: 25px; line-height: 25px; color: #ffffff; background: url(/forum/images/im/lm_title.png); padding-left: 33px;}
.lmt_ico {background: url(/forum/images/im/lmt_ico.png); width: 17px; height: 25px; position: absolute; top: 0; left: 0;}
.lmt_sh {background: url(/forum/images/im/lmt_sh.png); width: 89px; height: 7px; position: absolute; bottom: -7px; left: 10px;}

1441713.png - Opera ,всё отлично

1429425.png - IE, меню съехало вправо

Помогите пожалуйста решить вопрос

Edited by Sven
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy