Skocz do zawartości

Menu nie wyświetla się w IE9


Gadziu

Recommended Posts

Witam,

mam taki problem. Dodałem podpoziom do ruchomego menu i w IE9 64bit nie wyświetla mi się całe menu. We wszystkich innych przeglądarkach chodzi. Nawet po usunięciu tego podpoziomu menu się nie pojawia. Zmieniałem też css, ale po przywróceniu wcześniejszych wartości nic się nie pojawia... Ten podpoziom to "apartament".

HTML:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>xxx</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<META content="xxx." name=
"Description">
<META content="xxx"
name="Keywords">
<meta name="google-site-verification" content="XRrktEKa8Uvl8aeRkicRMumoEoaqUK8vv8kBzczhWIE" />
<script type="text/javascript" src="js/jquery-1.6.1.js"></script>
<script type="text/javascript" src="js/jquery.lightbox-0.5.js"></script>
<link rel="stylesheet" type="text/css" href="css/jquery.lightbox-0.5.css" media="screen" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/jquery.nivo.slider.pack.js" ></script>
<link rel="stylesheet" href="themes/default/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="themes/orman/orman.css" type="text/css" media="screen" />
<link rel="stylesheet" href="themes/pascal/pascal.css" type="text/css" media="screen" />
<LINK rel="stylesheet" type="text/css" href="css/menu-menu.css"
media="screen">
<LINK rel="stylesheet" type="text/css" href="css/top.css">
<meta name="google-site-verification" content="XRrktEKa8Uvl8aeRkicRMumoEoaqUK8vv8kBzczhWIE" />
<link rel="Shortcut icon" href="images/ikona.ico"/>
</HEAD>
<BODY>
<a href="sitemap.html"><img class="sm"  src="images/ikona.png" alt=""></a>
<DIV align="center">
<DIV id="top">
<DIV id="NAGLOWEK"><IMG title=""  alt="" src=
"logo.png"  border="0" onmousedown="return false"
oncontextmenu="return false" onselectstart="return false"
onselect="return false" oncopy="return false" ondragstart=
"return false" ondrag="return false">
<ul class="menu-menu">
<li class="first"><a href="home.html">Home</a></li>
<li><a href="onas.html">O Nas</a></li>
<li><a href="galeria.html">Galeria</a>
<ul>
<li class="first"><a href="apartament.html">Apartament</a></li>
</ul>
</li>
<li><a href="menu.html">Menu</a></li>
<li><a href="cennik.html">Cennik</a></li>
<li><a href="kontakt.html">Info</a>
<ul>
<li class="first"><a href="info.php">Kontakt</a></li>
<li><a href="dojazd.html">Dojazd</a></li>
</ul>
</li>
</ul>
</DIV>
<DIV id="TRESC">
<div id="header"><img src="images/home.png" alt=""></div>
<p style="font-family: Monotype Corsiva; font-size: 40px; clear: both; font-weight: bold">xxx</div>
</DIV>
<DIV id="MENU">
<div class="slider-wrapper theme-default">
    <div class="ribbon"></div>
    <div id="slider" class="nivoSlider">
        <img src="images/P1030365.JPG" alt="" />
        <img src="images/P1030366.JPG" alt="" />
        <img src="images/P1030368.JPG" alt="" />
        <img src="images/P1030370.JPG" alt="" />
        <img src="images/P1030373.JPG" alt="" />
    </div>
</div>
<script type="text/javascript" src="js/nivo.js"></script></DIV>
</DIV>
<DIV id="STOPKA">
xxx
</DIV>
</DIV>
</BODY>
</HTML>

CSS:

/*** ESSENTIAL STYLES ***/
.menu-menu, .menu-menu * {
   margin:0;
   padding:0;
   list-style:none;
}
.menu-menu {
   margin:-100px 0 0 237px;
   top: 0;
   line-height:1.0;
}
.menu-menu ul {
   position:absolute;
   top:-999em;
   width:89px; /* submenu item width - offest below must match */
}
.menu-menu li {
   width:89px; /* Default to 'auto'. If specified, the submenu item width and offset must match */
}
.menu-menu li a {
   text-align:center;
}
.menu-menu li li a {
   text-align:center;
}
.menu-menu ul li {
   width:100%;
}
.menu-menu li ul  {
   display:none;
}
.menu-menu li:hover ul  {
   display:block;
}
.menu-menu li li ul  {
   display:none;
}
.menu-menu li:hover li:hover ul  {
   display:block;
}
.menu-menu li:hover {
   visibility:inherit; /* fixes IE7 'sticky bug' */
}
.menu-menu li {
   float:left;
   position:relative;
}
.menu-menu a {
   display:block;
   position:relative;
}
.menu-menu li:hover ul,
.menu-menu li.sfHover ul {
   left:0;
   top:24px; /* match top ul list item height */
   z-index:2;
}
ul.menu-menu li:hover li ul,
ul.menu-menu li.sfHover li ul {
   top:-999em;
}
ul.menu-menu li li:hover ul,
ul.menu-menu li li.sfHover ul {
   left:89px; /* submenu offest - must match ul width above */
   top:0;
}
ul.menu-menu li li:hover li ul,
ul.menu-menu li li.sfHover li ul {
   top:-999em;
}
ul.menu-menu li li li:hover ul,
ul.menu-menu li li li.sfHover ul {
   left:89px; /* submenu offest - must match ul width above */
   top:0;
}

/*** DEMO SKIN ***/
.menu-menu {
   float:left;
   margin-bottom:1em;
	font-family:Monotype Corsiva;
	font-size:20px; 
	font-weight:bold;   /* bold or normal */
	font-style:italic; /* italic or normal */
}
.menu-menu a {
   border-right:1px dotted #000000;
   border-top:0px solid #000000;
   border-bottom:0px solid #000000;
   padding:2px 0px;
   text-decoration:none;
   border-left:1px dotted #000000;

}
}
.menu-menu li.first a { 
    border-left:1px dotted #000000;
    }
.menu-menu a, .menu-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
   color:#465767;
}
.menu-menu a:hover, .menu-menu a:active  { /* visited pseudo selector so IE6 applies text colour*/
   color:#3E464E;
}

.menu-menu li li a { 
    border:0px solid #000000; border-top-width:0; 
    }
.menu-menu li li li.first a { 
    border:0px solid #000000; 
    }
.menu-menu li {

}
.menu-menu li li {
   background-image:url('hader.png');
}
.menu-menu li li li {
   background-image:url('hader.png');
}
.menu-menu li:hover, .menu-menu li.sfHover,
.menu-menu a:focus, .menu-menu a:hover, .menu-menu a:active {
   background:#ffffe5;
   outline:-3;
}

.menu-menu li li a, .menu-menu li li a:visited { 
    color:#465767;
}

.menu-menu li li a:hover, .menu-menu li li a:active, .menu-menu li li a:focus { 
  color: #445361;
} 

/*** arrows **/
.menu-menu a.sf-with-ul {
   padding-right:2.25em;
   min-width:1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
   position:absolute;
   display:block;
   right:.75em;
   top:1.05em; /* IE6 only */
   width:10px;
   height:10px;
   text-indent:-999em;
   overflow:hidden;
   background:url('../images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
   top:.8em;
   background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
   background-position:-10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.menu-menu ul .sf-sub-indicator { background-position:-10px 0; }
.menu-menu ul a > .sf-sub-indicator { background-position:0 0; }
/* apply hovers to modern browsers */
.menu-menu ul a:focus > .sf-sub-indicator,
.menu-menu ul a:hover > .sf-sub-indicator,
.menu-menu ul a:active > .sf-sub-indicator,
.menu-menu ul li:hover > a > .sf-sub-indicator,
.menu-menu ul li.sfHover > a > .sf-sub-indicator {
   background-position:-10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
   background:url('../images/shadow.png') no-repeat bottom right;
   padding:0 8px 9px 0;
   -moz-border-radius-bottomleft:17px;
   -moz-border-radius-topright:17px;
   -webkit-border-top-right-radius:17px;
   -webkit-border-bottom-left-radius:17px;
}
.sf-shadow ul.sf-shadow-off {
   background:transparent;
}

Link do komentarza
Udostępnij na innych stronach

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gość
Odpowiedz...

×   Wkleiłeś treść z formatowaniem.   Usuń formatowanie

  Only 75 emoji are allowed.

×   Twój link będzie automatycznie osadzony.   Wyświetlać jako link

×   Your previous content has been restored.   Clear editor

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

Wczytywanie...
×
×
  • Utwórz nowe...