eman
10-19-2007, 03:00 AM
Hello, I am trying to figure out the correct CSS code for the drop down menu provided in calmdesign URL below. What changes should I make. I need this navigation style for my website. Please help. Thanks
http://www.calmdesign.co.uk/test/blockmenu.html
http://www.jenkinscreativedesigns.com/ - My website
.blockmenu1a{
border-left:1px solid black;
border-right:1px solid black;
border-top:4px solid black;
border-bottom:0px solid black;
position:absolute;
top: 220px;
/*THEME CHANGE HERE*/
/*Top border width. Should match height of .ddcolortabsline above*/
line-height:18px;
z-index:200;
background-color: white;
width: 100px; /*show drop down or not*/
font-style:normal;
font-variant:normal;
font-weight:normal;
font-size:12px;
font-family:Arial;
left: 510px;
height: 50px;
visibility: visible;
}
.blockmenu1a a{
width: auto;
display: block;
text-indent: 5px;
border-top: 0px solid #678b3f;
border-bottom: 1px solid #678b3f; /*THEME CHANGE HERE*/
text-decoration: none;
color: black; padding-left:0; padding-right:0; padding-top:2px; padding-bottom:2px
}
* html .blockmenu1a a{ /*IE only hack*/
width: 100%;
}
.blockmenu1a a:hover{ /*THEME CHANGE HERE*/
background-color: #8a3c3d;
color: white;
}
/* 3366cc url changed blocks to blue*/
</style>
<style type="text/css">
p.iepara{ /*Conditional CSS- For IE (inc IE7), create 1em spacing between menu and paragraph that follows*/
padding-top: 200em;
}
</style>
http://www.calmdesign.co.uk/test/blockmenu.html
http://www.jenkinscreativedesigns.com/ - My website
.blockmenu1a{
border-left:1px solid black;
border-right:1px solid black;
border-top:4px solid black;
border-bottom:0px solid black;
position:absolute;
top: 220px;
/*THEME CHANGE HERE*/
/*Top border width. Should match height of .ddcolortabsline above*/
line-height:18px;
z-index:200;
background-color: white;
width: 100px; /*show drop down or not*/
font-style:normal;
font-variant:normal;
font-weight:normal;
font-size:12px;
font-family:Arial;
left: 510px;
height: 50px;
visibility: visible;
}
.blockmenu1a a{
width: auto;
display: block;
text-indent: 5px;
border-top: 0px solid #678b3f;
border-bottom: 1px solid #678b3f; /*THEME CHANGE HERE*/
text-decoration: none;
color: black; padding-left:0; padding-right:0; padding-top:2px; padding-bottom:2px
}
* html .blockmenu1a a{ /*IE only hack*/
width: 100%;
}
.blockmenu1a a:hover{ /*THEME CHANGE HERE*/
background-color: #8a3c3d;
color: white;
}
/* 3366cc url changed blocks to blue*/
</style>
<style type="text/css">
p.iepara{ /*Conditional CSS- For IE (inc IE7), create 1em spacing between menu and paragraph that follows*/
padding-top: 200em;
}
</style>