hi this is my css horizontal menu i need the submeus for this?
Posted
by kalaivani
on Stack Overflow
See other posts from Stack Overflow
or by kalaivani
Published on 2010-03-12T02:49:13Z
Indexed on
2010/03/12
2:57 UTC
Read the original article
Hit count: 237
css
/* CSS Document */ .
rhm1{
width:780px;
height:64px;
margin:0 auto;
background:url(images/rhm1_bg.g
if) repeat-x;
}
.rhm1-left{
background:url(images/rhm1_l.gi
f) no-repeat;
width:15px;
height:64px;
float:left;
}
.rhm1-right{
background:url(images/rhm1_r.gi
f) no-repeat;
width:15px;
height:64px;
float:right;
}
.rhm1-bg{
background:url(images/rhm1_bg.g
if) repeat-x;
height:64px;
}
.rhm1-bg ul{
list-style:none;
margin:0 auto;
}
.rhm1-bg li{
float:left;
list-style:none;
}
.rhm1-bg li a{
float:left;
display:block;
color:#ffe8cc;
text-decoration:none;
font:12px 'Lucida
Sans', sans-serif;
font-weight:bold;
padding:0 0 0 18px;
height:64px;
line-height:40px;
text-align:center;
cursor:pointer;
}
.rhm1-bg li a span{
float:left;
display:block;
padding:0 32px 0 18px;
}
.rhm1-bg li.current a{
color:#fff;
background:url(images/rhm1_hove
r_l.gif) no-repeat left 5px;
}
.rhm1-bg li.current a span{
color:#fff;
background:url(images/rhm1_hove
r_r.gif) no-repeat right 5px;
}
.rhm1-bg li a:hover{
color:#fff;
background:url(images/rhm1_hove
r_l.gif) no-repeat left 5px;
}
.rhm1-bg li a:hover span{
color:#fff;
background:url(images/rhm1_hove
r_r.gif) no-repeat right 5px;
}
© Stack Overflow or respective owner