Hallo,
Ik heb een probleempje met mijn menu ... Als ik deze open in IE browser dan is deze perfect ... In chrome komt het laatste blokje onder het menu en als ik het scherm verklein dan is er ruimte tussen het blokje en het einde van het menu.
Ik ben vrij nieuw met html en ik heb al van alles geprobeerd ... Hopelijk kunnen jullie me helpen.
De CSS:
.jqueryslidemenu{
font: 25px Arial;
background: #9AEE91;
width: 100%;
Height: 58px;
border:3px solid #000;
}
.jqueryslidemenu ul{
margin: 0;
padding: 0;
list-style-type: none;
}
/*Top level list items*/
.jqueryslidemenu ul li{
position: relative;
display: inline;
float: left;
}
/*Top level menu link items style*/
.jqueryslidemenu ul li a{
display: block;
background: #9AEE91; /*background of tabs (default state)*/
color: black;
border-right:1.41px solid #000;
padding: 14.5px 9.9px;
color: #000000;
text-decoration: none;
}
* html .jqueryslidemenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}
.jqueryslidemenu ul li a:link, .jqueryslidemenu ul li a:visited{
color: white;
}
.jqueryslidemenu ul li a:hover{
background: #4BA72A; /*tab link background during hover state*/
color: white;
}
/*1st sub level menu*/
.jqueryslidemenu ul li ul{
position: absolute;
left: 0;
display: block;
visibility: hidden;
}
/*Sub level menu list items (undo style from Top level List Items)*/
.jqueryslidemenu ul li ul li{
display: list-item;
float: none;
}
/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.jqueryslidemenu ul li ul li ul{
top: 0;
}
/* Sub level menu links style */
.jqueryslidemenu ul li ul li a{
font: normal 13px Arial;
width: 160px; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid gray;
}
.jqueryslidemenuz ul li ul li a:hover{ /*sub menus hover style*/
background: #eff9ff;
color: black;
}
/* ######### CSS classes applied to down and right arrow images ######### */
.downarrowclass{
position: absolute;
top: 12px;
right: 7px;
}
.rightarrowclass{
position: absolute;
top: 6px;
right: 5px;
}
En de html:
<center><div id="myslidemenu" class="jqueryslidemenu">
<ul>
<li class="current"><a href="index.html">Home</a></li>
<li><a href="nieuws.html">Nieuws</a></li>
<li><a href="#">Wat</a>
<ul>
<li><a href="creatievetherapie.html">Creatieve Therapie</a></li>
<li><a href="pmkt.html">Psychomotorische Kindertherapie</a></li>
<li><a href="trainingen.html">Trainingen: Rots en Water</a></li>
<li><a href="workshops.html">Workshops</a></li>
</ul>
</li>
<li><a href="hoe.html">Hoe </a></li>
<li><a href="voorwie.html">Voor wie</a></li>
<li><a href="#">Over ons</a>
<ul>
<li><a href="pdm.html">Praktijk de Mangoboom</a></li>
<li><a href="inekeinge.html">Ineke & Inge</a></li>
</ul>
</li>
<li><a href="praktischeinformatie.html">Praktische informatie</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
<br style="clear: left" />
</div>
</center>
De website is: Hier te zien
Ik heb een probleempje met mijn menu ... Als ik deze open in IE browser dan is deze perfect ... In chrome komt het laatste blokje onder het menu en als ik het scherm verklein dan is er ruimte tussen het blokje en het einde van het menu.
Ik ben vrij nieuw met html en ik heb al van alles geprobeerd ... Hopelijk kunnen jullie me helpen.
De CSS:
.jqueryslidemenu{
font: 25px Arial;
background: #9AEE91;
width: 100%;
Height: 58px;
border:3px solid #000;
}
.jqueryslidemenu ul{
margin: 0;
padding: 0;
list-style-type: none;
}
/*Top level list items*/
.jqueryslidemenu ul li{
position: relative;
display: inline;
float: left;
}
/*Top level menu link items style*/
.jqueryslidemenu ul li a{
display: block;
background: #9AEE91; /*background of tabs (default state)*/
color: black;
border-right:1.41px solid #000;
padding: 14.5px 9.9px;
color: #000000;
text-decoration: none;
}
* html .jqueryslidemenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}
.jqueryslidemenu ul li a:link, .jqueryslidemenu ul li a:visited{
color: white;
}
.jqueryslidemenu ul li a:hover{
background: #4BA72A; /*tab link background during hover state*/
color: white;
}
/*1st sub level menu*/
.jqueryslidemenu ul li ul{
position: absolute;
left: 0;
display: block;
visibility: hidden;
}
/*Sub level menu list items (undo style from Top level List Items)*/
.jqueryslidemenu ul li ul li{
display: list-item;
float: none;
}
/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.jqueryslidemenu ul li ul li ul{
top: 0;
}
/* Sub level menu links style */
.jqueryslidemenu ul li ul li a{
font: normal 13px Arial;
width: 160px; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid gray;
}
.jqueryslidemenuz ul li ul li a:hover{ /*sub menus hover style*/
background: #eff9ff;
color: black;
}
/* ######### CSS classes applied to down and right arrow images ######### */
.downarrowclass{
position: absolute;
top: 12px;
right: 7px;
}
.rightarrowclass{
position: absolute;
top: 6px;
right: 5px;
}
En de html:
<center><div id="myslidemenu" class="jqueryslidemenu">
<ul>
<li class="current"><a href="index.html">Home</a></li>
<li><a href="nieuws.html">Nieuws</a></li>
<li><a href="#">Wat</a>
<ul>
<li><a href="creatievetherapie.html">Creatieve Therapie</a></li>
<li><a href="pmkt.html">Psychomotorische Kindertherapie</a></li>
<li><a href="trainingen.html">Trainingen: Rots en Water</a></li>
<li><a href="workshops.html">Workshops</a></li>
</ul>
</li>
<li><a href="hoe.html">Hoe </a></li>
<li><a href="voorwie.html">Voor wie</a></li>
<li><a href="#">Over ons</a>
<ul>
<li><a href="pdm.html">Praktijk de Mangoboom</a></li>
<li><a href="inekeinge.html">Ineke & Inge</a></li>
</ul>
</li>
<li><a href="praktischeinformatie.html">Praktische informatie</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
<br style="clear: left" />
</div>
</center>
De website is: Hier te zien