PDA

View Full Version : menu background


dorkello
03-16-2007, 02:21 PM
www.laurelandryan.com

There is a menu on the left that is supposed to have a color background. It worked until the other day when I changed the color. It will show up in IE but not Firefox. I'm sure there is some tag that I am leaving out. Any ideas?

westmatrix99
03-16-2007, 02:27 PM
12345678901

dorkello
03-16-2007, 02:34 PM
changed that..didnt work.

dorkello
03-16-2007, 02:36 PM
this is the style sheet for that menu.

#coolmenu{
border: 1px solid black;
width: 170px;
background-color: #E0D5A4;
}

#coolmenu a{
font: 14px Arial Narrow;
padding: 2px;
padding-left: 4px;
display:block;
width: 100%;
color: #411806;
text-decoration: none;
border-bottom: none;
}

html>body #coolmenu a{ /*Non IE rule*/
width:inherit;
}

#coolmenu a:hover{
background-color: #F2E7C4;
color: #411806;
}

westmatrix99
03-16-2007, 02:37 PM
12345678901

dorkello
03-16-2007, 02:37 PM
it works now!
stupid me, forget the # in front of a color.

gmcrone
03-16-2007, 02:39 PM
1. remove the style info from your HTML page, you are all ready linking to the style sheet.

2. remove </style> in several places in your css file, they don't belong there.

Mike...

westmatrix99
03-16-2007, 02:40 PM
1234567890

westmatrix99
03-16-2007, 02:42 PM
1234567890