Missing
05-27-2007, 10:10 PM
Well I started working on this menu for a website. It is supposed to have horizontal link bars (no images, just text and the hover attribute) that span the width of the navigation table, but that is not so. I had it working in IE and I must have changed the wrong thing and now it doesn't work correctly in IE, Firefox, or Opera.
div.menu a {
color: #E4E3E3;
background: #80864E;
text-decoration: none;
font-size: 11px;
line-height: 20px;
font-family: serif;
padding: 2px 1px;
width: 100%;
}
div.menu a:link {
color: #E4E3E3;
background: #80864E;
border: 1px solid #797F4A;
width: 100%;
}
div.menu a:active {
color: #E4E3E3;
background: #80864E;
border: 1px solid #797F4A;
width: 100%;
}
div.menu a:visited {
color: #E4E3E3;
background: #80864E;
border: 1px solid #797F4A;
width: 100%;
}
div.menu a:hover {
color: #E4E3E3;
background: #4E5801;
border: 1px solid #000000;
width: 100%;
}
I tried doing width: 206px and that was working in IE but not for Firefox or Opera.
So the usual three options, I have misplaced something, I have left something out, or it's not possible.
Any help at all would be greatly appreciated, I've been trying to fix this all day with no luck. Thanks!
div.menu a {
color: #E4E3E3;
background: #80864E;
text-decoration: none;
font-size: 11px;
line-height: 20px;
font-family: serif;
padding: 2px 1px;
width: 100%;
}
div.menu a:link {
color: #E4E3E3;
background: #80864E;
border: 1px solid #797F4A;
width: 100%;
}
div.menu a:active {
color: #E4E3E3;
background: #80864E;
border: 1px solid #797F4A;
width: 100%;
}
div.menu a:visited {
color: #E4E3E3;
background: #80864E;
border: 1px solid #797F4A;
width: 100%;
}
div.menu a:hover {
color: #E4E3E3;
background: #4E5801;
border: 1px solid #000000;
width: 100%;
}
I tried doing width: 206px and that was working in IE but not for Firefox or Opera.
So the usual three options, I have misplaced something, I have left something out, or it's not possible.
Any help at all would be greatly appreciated, I've been trying to fix this all day with no luck. Thanks!