imstillatwork
IS-IT--Management
I have 2 classes: one for the current menu item, one for the rest.
.menublue {
background-color:#336699;
color:#ffffff;
font-weight:bold;
font-size:.7em;
text-align:center;
width:110px;
height:20px;
border-top:1px solid #000000;
border-right:1px solid #000000;
}
.menugrey {
background-color:#bbbbbb;
color:#ffffff;
font-weight:bold;
font-size:.7em;
text-align:center;
width:110px;
height:20px;
border-top:1px solid #000000;
border-right:1px solid #000000;
}
The only difference is the background color. Is there a better way to do this and not repeat so much info?
thanks!
.menublue {
background-color:#336699;
color:#ffffff;
font-weight:bold;
font-size:.7em;
text-align:center;
width:110px;
height:20px;
border-top:1px solid #000000;
border-right:1px solid #000000;
}
.menugrey {
background-color:#bbbbbb;
color:#ffffff;
font-weight:bold;
font-size:.7em;
text-align:center;
width:110px;
height:20px;
border-top:1px solid #000000;
border-right:1px solid #000000;
}
The only difference is the background color. Is there a better way to do this and not repeat so much info?
thanks!