ik heb overal gezocht naar een dropdown menu die mijn menu niet verpest maar kan nix vinden en ook geprobeerd met firebug maar hielp ook niet echt
ik zoek een css dropdown menu dat naar onderen scrolt
zoals deze bv
http://www.cssplay.co.uk/menus/drop_definition4.html
ik gebruik alleen html css en ie8
de html
ik weet dat er wat fouten kunnen zijn en wat onoverzichtelijk maar wil alleen bij deze html ff een dropdown doen om te leren
css=
*
{
margin:0px;
padding:0px;
}
body
{
background-color:#f4f4f4;
}
.wrapper
{
width:1010px;
}
.logo a
{
background-image:url(logo.png);
width:457px;
height:145px;
float:right;
margin-right:145px;
}
.menu
{
background-image:url(menu.bg.png);
width:875px;
height:50px;
}
.menu ul li
{
float:left;
height:50px;
}
.menu ul li a
{
color:white;
margin-top:10px;
text-decoration:none;
font-family:"Century Gothic";
font-weight:bold;
height:32px;
padding-top:6px;
text-align:center;
}
.menu ul li a:hover
{
background-image:url(menu.bg1.png);
background-repeat:repeat-x;
height:32px;
}
a.selected
{
background-image:url(menu.bg1.png);
width:5px;
height:32px;
}
.home a
{
width:75px;
}
.overons a
{
width:100px;
}
.diensten a
{
width:95px;
}
.dagactiviteiten a
{
width:145px;
}
.scholing a
{
width:95px;
}
.fotoboek a
{
width:95px;
}
.vacatures a
{
width:110px;
}
.contact a
{
width:90px;
}
.link a
{
width:50px;
}
.contentleft
{
float:left;
}
.contentleft1
{
background-image:url(content1.png);
width:875px;
height:20px;
}
.contentleft2
{
background-image:url(content2.png);
background-repeat:repeat-y;
width:875px;
height:5px;
}
.contentleft3
{
background-image:url(content3.png);
width:875px;
height:20px;
background-repeat:no-repeat;
}
.contentmain1
{
padding-left:120px;
padding-top:120px;
}
.contentmain
{
float:left;
}
.contentmain2
{
float:left;
}
.contentmainleft
{
width:600px;
height:644px;
}
.titel
{
font-size: small;
margin-left:15px;
}
.titel1
{
font-size: small;
margin-left:15px;
}
.divider
{
background-image:url(divider1.png);
width:595px;
height:20px;
}
.contentmainleft .image
{
width: 267px;
height: 334px;
display: block;
float: left;
}
.contentmainleft img
{
border-style:none;
}
.contentmainleft .tekst
{
margin-left: 10px;
}
.contentmainleft .tekst p.first
{
float: left;
}
.contentmainleft ul
{
margin-left: 20px;
width: 300px;
display: block;
}
.contentmainleft ul li
{
margin-left: 20px;
}
.contentmainright
{
width:200px;
float:left;
}
.divider3
{
background-image:url(divider3.png);
width:20px;
height:400px;
float:left;
margin-top:40px;
}
.titel2
{
font-size: small;
margin-left:15px;
}
.recimg
{
background-image:url(foto2.png);
width:187px;
height:235px;
}
.contentrigth
{
}
.tekst
{
margin-left:15px;
}
.footer
{
background-image:url(footer.bg.png);
width:875px;
height:50px;
padding-left:250px;
padding-top:15px;
}
.footer a
{
color:black;
}
.footer a:hover
{
color:white;
text-decoration:none;
}
.sublink1
{
background-image:url(sublinks.bg1.png);
width:214px;
height:20px;
}
.sublink2
{
background-image:url(sublinks.bg2.png);
background-repeat:repeat-y;
width:214px;
height:700px;
}
.sublink3
{
background-image:url(sublinks.bg3.png);
width:214px;
height:20px;
}
.sub ul li a
{
color:white;
text-decoration:none;
font-family:"Century Gothic";
list-style-type:none;
width:205px;
height:30px;
}
.sub ul li a:hover
{
background-image:url(menu.bg1.png);
background-repeat:repeat-x;
height:30px;
}
.sub ul li a h4
{
margin-top:5px;
margin-left:20px;
color:#fff;
}
.sublinks
{
border-top:1px solid white;
}
.divider22
{
background-image:url(divider2.png);
width:210px;
height:20px;
float:right;
margin-top:0px;
}
.divider23
{
background-image:url(divider3.png);
width:20px;
height:400px;
float:right;
margin-top:0px;
}
.kir
{
background-image:url(kirsehir.jpg);
width:482px;
height:540px;
}
h2
{
margin-left:15px;
}
.biber1
{
background-image:url(biber.jpg);
width:200px;
height:195;
}
#lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }
#outerImageContainer{ position: relative; background-color: #000; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }
#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0;
background:url("loading.gif") no-repeat; height:32px; width:32px; display:none;
}
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}
#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(prevlabel.gif) left 50% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(nextlabel.gif) right 50% no-repeat; }
#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #000; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100% ; }
#imageData{ padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }
#imageData #caption{ font-weight: bold; }
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; }
#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; outline: none;
background:url("closelabel.gif") no-repeat; height:22px;
}
#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
kan iemand me helpen??
ik zoek een css dropdown menu dat naar onderen scrolt
zoals deze bv
http://www.cssplay.co.uk/menus/drop_definition4.html
ik gebruik alleen html css en ie8
de html
HTML:
<html>
<head>
<title>fotoboek</title>
<link href="sean.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="wrapper">
<div class="logo"><a href="Home.html"> </a> </div>
<div class="menu">
<ul>
<li class="home"><a href="Home.html"><h4>Home </h4></a></li>
<li class="overons"><a href="sublinks.html">Over ons </a></li>
<li class="diensten"><a href="diensten.html">Diensten </a></li>
<li class="dagactiviteiten"><a href="dagactiviteiten.html">Dagactiviteiten </a></li>
<li class="scholing"><a href="scholing.html">Scholing </a></li>
<li class="fotoboek"><a class="selected" href="fotoboek.html">Fotoboek </a></li>
<li class="vacatures"><a href="vacatures.html">Vacatures </a></li>
<li class="contact"><a href="contact.html">Contact </a></li>
<li class="link"><a href="link.html">Link </a></li>
</ul>
</div>
<div class="contentleft">
<div class="contentleft1"> </div>
<div class="contentleft2" >
<div class="contentmain">
<div class="contentmainleft">
<div class="titel1"> <b>Kirsehir</b></div>
<div class="divider"> </div>
<div class="kir">
</div>
</div>
</div>
<div class="contentmain2">
<div class="contentmainright">
</div>
</div>
<div class="contentmain2">
<div class="divider3"> </div>
<div class="contentmainright">
<div class="titel2"> </div>
<img src="divider2.png" />
<div class="biber1"> </div>
</div>
</div>
</div>
<div class="contentleft3"></div>
<div class="footer"> <a href="http://dall.nl" target="_blank">Copyright 2009. Website made by Selim Oruc</a> </div>
</div>
<div class="contentrigth"> <img src="fotos.png"/> </div>
</div>
</body>
</html>
ik weet dat er wat fouten kunnen zijn en wat onoverzichtelijk maar wil alleen bij deze html ff een dropdown doen om te leren
css=
*
{
margin:0px;
padding:0px;
}
body
{
background-color:#f4f4f4;
}
.wrapper
{
width:1010px;
}
.logo a
{
background-image:url(logo.png);
width:457px;
height:145px;
float:right;
margin-right:145px;
}
.menu
{
background-image:url(menu.bg.png);
width:875px;
height:50px;
}
.menu ul li
{
float:left;
height:50px;
}
.menu ul li a
{
color:white;
margin-top:10px;
text-decoration:none;
font-family:"Century Gothic";
font-weight:bold;
height:32px;
padding-top:6px;
text-align:center;
}
.menu ul li a:hover
{
background-image:url(menu.bg1.png);
background-repeat:repeat-x;
height:32px;
}
a.selected
{
background-image:url(menu.bg1.png);
width:5px;
height:32px;
}
.home a
{
width:75px;
}
.overons a
{
width:100px;
}
.diensten a
{
width:95px;
}
.dagactiviteiten a
{
width:145px;
}
.scholing a
{
width:95px;
}
.fotoboek a
{
width:95px;
}
.vacatures a
{
width:110px;
}
.contact a
{
width:90px;
}
.link a
{
width:50px;
}
.contentleft
{
float:left;
}
.contentleft1
{
background-image:url(content1.png);
width:875px;
height:20px;
}
.contentleft2
{
background-image:url(content2.png);
background-repeat:repeat-y;
width:875px;
height:5px;
}
.contentleft3
{
background-image:url(content3.png);
width:875px;
height:20px;
background-repeat:no-repeat;
}
.contentmain1
{
padding-left:120px;
padding-top:120px;
}
.contentmain
{
float:left;
}
.contentmain2
{
float:left;
}
.contentmainleft
{
width:600px;
height:644px;
}
.titel
{
font-size: small;
margin-left:15px;
}
.titel1
{
font-size: small;
margin-left:15px;
}
.divider
{
background-image:url(divider1.png);
width:595px;
height:20px;
}
.contentmainleft .image
{
width: 267px;
height: 334px;
display: block;
float: left;
}
.contentmainleft img
{
border-style:none;
}
.contentmainleft .tekst
{
margin-left: 10px;
}
.contentmainleft .tekst p.first
{
float: left;
}
.contentmainleft ul
{
margin-left: 20px;
width: 300px;
display: block;
}
.contentmainleft ul li
{
margin-left: 20px;
}
.contentmainright
{
width:200px;
float:left;
}
.divider3
{
background-image:url(divider3.png);
width:20px;
height:400px;
float:left;
margin-top:40px;
}
.titel2
{
font-size: small;
margin-left:15px;
}
.recimg
{
background-image:url(foto2.png);
width:187px;
height:235px;
}
.contentrigth
{
}
.tekst
{
margin-left:15px;
}
.footer
{
background-image:url(footer.bg.png);
width:875px;
height:50px;
padding-left:250px;
padding-top:15px;
}
.footer a
{
color:black;
}
.footer a:hover
{
color:white;
text-decoration:none;
}
.sublink1
{
background-image:url(sublinks.bg1.png);
width:214px;
height:20px;
}
.sublink2
{
background-image:url(sublinks.bg2.png);
background-repeat:repeat-y;
width:214px;
height:700px;
}
.sublink3
{
background-image:url(sublinks.bg3.png);
width:214px;
height:20px;
}
.sub ul li a
{
color:white;
text-decoration:none;
font-family:"Century Gothic";
list-style-type:none;
width:205px;
height:30px;
}
.sub ul li a:hover
{
background-image:url(menu.bg1.png);
background-repeat:repeat-x;
height:30px;
}
.sub ul li a h4
{
margin-top:5px;
margin-left:20px;
color:#fff;
}
.sublinks
{
border-top:1px solid white;
}
.divider22
{
background-image:url(divider2.png);
width:210px;
height:20px;
float:right;
margin-top:0px;
}
.divider23
{
background-image:url(divider3.png);
width:20px;
height:400px;
float:right;
margin-top:0px;
}
.kir
{
background-image:url(kirsehir.jpg);
width:482px;
height:540px;
}
h2
{
margin-left:15px;
}
.biber1
{
background-image:url(biber.jpg);
width:200px;
height:195;
}
#lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }
#outerImageContainer{ position: relative; background-color: #000; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }
#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0;
background:url("loading.gif") no-repeat; height:32px; width:32px; display:none;
}
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}
#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(prevlabel.gif) left 50% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(nextlabel.gif) right 50% no-repeat; }
#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #000; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100% ; }
#imageData{ padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }
#imageData #caption{ font-weight: bold; }
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; }
#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; outline: none;
background:url("closelabel.gif") no-repeat; height:22px;
}
#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
kan iemand me helpen??