开发者

Navigation Dropdown Text Color doesn't work in FF and IE

I was able to get the navigation dropdown to s开发者_如何学JAVAhow the letters in a different color from the background (white in this case) in Chrome browser. But when I view the same page in IE or FF, the whole background is just all green.

Here is an example of such a page: http://www.comehike.com/hikes/hikes_and_groups.php

And here is the CSS code that makes the color show up white in Chrome

#navigation li li a {
    color: #white;
    text-decoration:none;
}

To see the difference, just mouse over the top right where it says "community" or "hikes"

Thanks, Alex


take out the hash symbol from color: #white. "white" is a keyword, the hash signifies it's a color coded in hexadecimal, such as #fff.

#navigation li li a {
  color: white;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜