PunkSktBrdr01
11-12-2003, 09:03 PM
I'm making a new site and I'm trying to replicate the look of Windows 95/98/ME. For navigation, I have something similar to the "start" menu, and I'm trying to use similar hover/active colors. I found good colors, but I can't get it to work correctly. Check out the site to see what I mean:
http://www.radioactiverabbit.com/os_online/
I tested it in Firebird, IE6, and Opera, and they are all having problems. Here's my CSS:
#menuMain {
display: block;
visibility: hidden;
position: absolute;
left: 2px;
bottom: 30px;
padding: 5px;
width: auto;
height: auto;
text-align: left;
background-color: #CDCCCC;
border-width: 2px;
border-color: #CDCCCC;
border-style: outset;
z-index: 4;
}
#menuMain ul {
list-style-type: none;
list-style-image: none;
list-style-position: outside;
border-width: 0;
padding: 0;
margin: 0;
}
#menuMain ul li {
display: list-item;
color: #000000;
line-height: 24px;
vertical-align: middle;
background-color: transparent;
background-position: 2px 2px;
background-repeat: no-repeat;
height: auto;
}
#menuMain ul li:hover, #menuMain ul li:active {
color: #FFFFFF;
background-color: #222299;
}
#menuMain a {
display: block;
width: 150px;
height: auto;
padding: 0 0 0 26px;
text-align: left;
text-decoration: none;
color: #000000;
font-family: Arial, sans-serif;
font-size: 12px;
font-weight: 500;
background-color: transparent;
border-width: 0;
cursor: pointer;
}
Thanks! :)
http://www.radioactiverabbit.com/os_online/
I tested it in Firebird, IE6, and Opera, and they are all having problems. Here's my CSS:
#menuMain {
display: block;
visibility: hidden;
position: absolute;
left: 2px;
bottom: 30px;
padding: 5px;
width: auto;
height: auto;
text-align: left;
background-color: #CDCCCC;
border-width: 2px;
border-color: #CDCCCC;
border-style: outset;
z-index: 4;
}
#menuMain ul {
list-style-type: none;
list-style-image: none;
list-style-position: outside;
border-width: 0;
padding: 0;
margin: 0;
}
#menuMain ul li {
display: list-item;
color: #000000;
line-height: 24px;
vertical-align: middle;
background-color: transparent;
background-position: 2px 2px;
background-repeat: no-repeat;
height: auto;
}
#menuMain ul li:hover, #menuMain ul li:active {
color: #FFFFFF;
background-color: #222299;
}
#menuMain a {
display: block;
width: 150px;
height: auto;
padding: 0 0 0 26px;
text-align: left;
text-decoration: none;
color: #000000;
font-family: Arial, sans-serif;
font-size: 12px;
font-weight: 500;
background-color: transparent;
border-width: 0;
cursor: pointer;
}
Thanks! :)