rlfinc
04-30-2008, 06:02 PM
Hello All-
Hoping to get some guidance as to how to approach this. I am a newbie to CSS so sorry if the answers obvious. I downloaded and implemented the Underline Horizontal Menu menu without problem. But in trying the different methods I've found online to add a horizontal css submenu, I keep coming up short. If someone can give me some tips on adding the submenu coding to my external css document, I'd appreciate any guidance I can get. Thanks in advance.
.topmenu {
position:absolute;
left:110px;
top:54px;
height:19;px;
width:635px;
background-color:#FFFFFF;
}
#underlinemenu{
margin: 0;
padding: 0;
}
#underlinemenu ul{
margin: 0;
margin-bottom: 1em;
padding-left: 0;
float: left;
font-weight: bold;
width: 100%;
border: 1px solid #DFDFDF;
border-width: 1px 0;
}
* html #underlinemenu ul{ /*IE only rule. Delete extra margin-bottom*/
margin-bottom: 0;
}
#underlinemenu ul li{
display: inline;
}
#underlinemenu ul li a{
float: left;
color: gray;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
padding: 2px 6px 4px 6px;
text-decoration: none;
font-size: 9px;
}
#underlinemenu ul li a:hover{
color: #CADB2A;
border-bottom: 4px solid #CADB2A;
padding-bottom: 0;
font-family: Arial, Helvetica, sans-serif;
font-size: 9px;
}
Hoping to get some guidance as to how to approach this. I am a newbie to CSS so sorry if the answers obvious. I downloaded and implemented the Underline Horizontal Menu menu without problem. But in trying the different methods I've found online to add a horizontal css submenu, I keep coming up short. If someone can give me some tips on adding the submenu coding to my external css document, I'd appreciate any guidance I can get. Thanks in advance.
.topmenu {
position:absolute;
left:110px;
top:54px;
height:19;px;
width:635px;
background-color:#FFFFFF;
}
#underlinemenu{
margin: 0;
padding: 0;
}
#underlinemenu ul{
margin: 0;
margin-bottom: 1em;
padding-left: 0;
float: left;
font-weight: bold;
width: 100%;
border: 1px solid #DFDFDF;
border-width: 1px 0;
}
* html #underlinemenu ul{ /*IE only rule. Delete extra margin-bottom*/
margin-bottom: 0;
}
#underlinemenu ul li{
display: inline;
}
#underlinemenu ul li a{
float: left;
color: gray;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
padding: 2px 6px 4px 6px;
text-decoration: none;
font-size: 9px;
}
#underlinemenu ul li a:hover{
color: #CADB2A;
border-bottom: 4px solid #CADB2A;
padding-bottom: 0;
font-family: Arial, Helvetica, sans-serif;
font-size: 9px;
}