Jump to content
  • 0

проблема с ролловер в IE 6


k2s
 Share

Question

В Мозилле, Опере и ИЕ7 все ОК. А вот в 6-м следующая проблема: при наведении мышки на ссылку, картинка меняется(то есть появляется ее нижняя часть), НО не если мышку отвести то она так и остается, то есть не возвращается в исходное положение. И так все картинки: если понаводить на разные ссылки, то появятся нижние части, но не исчезнут, если убрать мышку. Если переключиться на окно другой программы, а потом вернуться в IE6, то меню возвращается в исходное положение.

Пожалуйста, помогите разобраться что не так. Заранее спасибо!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
/* Меню сайта */
.buttons {
float: top;
width: auto;
height: auto;
}


.buttons div {

margin: 0 5px 0 0;
background-position: 0 100%;
}

.buttons div a {
margin-left: 5px;
display: block;
border: solid 1px #FFFFFF;
width: 100%;
height: 100%;
background: #C9DBEF;
background-position: 0 0;
position: relative;
overflow: hidden;
color: #2165FE;
FONT-SIZE: 16px;
FONT-WEIGHT: bold;
text-decoration: none;
}

.buttons p {
margin: 5px;
padding: 0px
}


.buttons div span {
position: absolute;
width: 100%;
height: 100%;
cursor: pointer;
padding-left: 45px;
color: #2165FE;
FONT-SIZE: 14px
text-decoration: none;
}

.buttons div a:hover span {
background-position: 0 100%;
padding-left: 45px;
color: #2165FE;
FONT-SIZE: 14px
text-decoration: none;
}
.punkt1 span { background: url(images/menu/punkt1.jpg) left top no-repeat; transparent none 0 0; }
.punkt2 span { background: url(images/menu/punkt2.jpg) left top no-repeat; transparent none 0 0; }
.punkt3 span { background: url(images/menu/punkt3.jpg) left top no-repeat; transparent none 0 0; }
.punkt4 span { background: url(images/menu/punkt4.jpg) left top no-repeat; transparent none 0 0; }
.punkt5 span { background: url(images/menu/punkt5.jpg) left top no-repeat; transparent none 0 0; }
.punkt6 span { background: url(images/menu/punkt6.jpg) left top no-repeat; transparent none 0 0; }
.punkt7 span { background: url(images/menu/punkt7.jpg) left top no-repeat; transparent none 0 0; }




.buttons div.punkt1 { width: 190px; height: 40px; }
.buttons div.punkt2 { width: 190px; height: 40px; }
.buttons div.punkt3 { width: 190px; height: 40px; }
.buttons div.punkt4 { width: 190px; height: 40px; }
.buttons div.punkt5 { width: 190px; height: 40px; }
.buttons div.punkt6 { width: 190px; height: 40px; }
.buttons div.punkt7 { width: 190px; height: 40px; }

</style>
</head>
<body>

<div class="buttons">
<p><div class="punkt1"><a href="#" title="dfssdsfd"><span>1</span></a></div></p>
<p><div class="punkt2"><a href="#" title="dfssdsfd"><span>2</span></a></div></p>
<p><div class="punkt3"><a href="#" title="dfssdsfd"><span>3</span></a></div></p>
<p><div class="punkt4"><a href="#" title="dfssdsfd"><span>4</span></a></div></p>
<p><div class="punkt5"><a href="#" title="dfssdsfd"><span>5</span></a></div></p>
<p><div class="punkt6"><a href="#" title="dfssdsfd"><span>6</span></a></div></p>
<p><div class="punkt7"><a href="#" title="dfssdsfd"><span>7</span></a></div></p>
</div>

</body>
</html>

Link to comment
Share on other sites

2 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

  • Обсуждения

    • Актуальные контакты: Telegram: @Nikker_web E-Mail:   tarasevich.email@gmail.com Портфолио https://www.behance.net/d4d4186e Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ    
    • Актуальные контакты: Telegram: @Nikker_web E-Mail:   tarasevich.email@gmail.com   Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ   Портфолио https://www.behance.net/d4d4186e
    • Доброго всем времени суток. Прошу помощи. Научите принципу изменения футера. Движок Xenforo. Версия 2.2.10. Стиль дефолтный. Что именно нужно в итоге на фото примере. Мой шаблон app.footer less имеет следующее значение.  .p-footer { .xf-publicFooter(); a { .xf-publicFooterLink(); } } .p-footer-inner { .m-pageWidth(); .m-pageInset(); padding-top: @xf-paddingMedium; padding-bottom: @xf-paddingLarge; } .p-footer-row { .m-clearFix(); margin-bottom: -@xf-paddingLarge; } .p-footer-row-main { float: left; margin-bottom: @xf-paddingLarge; } .p-footer-row-opposite { float: right; margin-bottom: @xf-paddingLarge; } .p-footer-linkList { .m-listPlain(); .m-clearFix(); > li { float: left; margin-right: .5em; &:last-child { margin-right: 0; } a { padding: 2px 4px; border-radius: @xf-borderRadiusSmall; &:hover { text-decoration: none; background-color: fade(@xf-publicFooterLink--color, 10%); } } } } .p-footer-rssLink { > span { position: relative; top: -1px; display: inline-block; width: 1.44em; height: 1.44em; line-height: 1.44em; text-align: center; font-size: .8em; background-color: #4682B4; border-radius: 2px; } .fa-rss { color: white; } } .p-footer-copyright { margin-top: @xf-elementSpacer; text-align: center; font-size: @xf-fontSizeSmallest; } .p-footer-debug { margin-top: @xf-paddingLarge; text-align: right; font-size: @xf-fontSizeSmallest; .pairs > dt { color: inherit; } } @media (max-width: @xf-responsiveMedium) { .p-footer-row-main, .p-footer-row-opposite { float: none; } .p-footer-copyright { text-align: left; padding: 0 4px; // aligns with other links } }  
    • Нужны сайты с примерами верстки, типа https://css-tricks.com/. Типовые приемы и нестандартные на все случаи жизни. Накидайте ссылок.
×
×
  • 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