# \#key background colour not working in IE

**URL:** <https://forum.kirupa.com/t/key-background-colour-not-working-in-ie/157996>\
**Category:** web dev\
**Created:** [August 5, 2005, 6:14pm UTC](https://forum.kirupa.com/t/key-background-colour-not-working-in-ie/157996 "2005-08-05T18:14:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dinkumrocks](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@dinkumrocks](https://forum.kirupa.com/u/dinkumrocks)\
**Post date:** [August 5, 2005, 6:14pm UTC](https://forum.kirupa.com/t/key-background-colour-not-working-in-ie/157996/1 "2005-08-05T18:14:29Z")

</div>

Hey guys. i have a navigation thing for a site im doing.

its really simple. there are main catagories, then sub-cats.

When you click the button, it sends you to the page, but that link is highlighted in the navigation box.

you can see a demo here. [www.dinkumrocks.com/ad/temp.asp](http://www.dinkumrocks.com/ad/temp.asp)

it works perfectly in firefox, but does not highlight the selected page in IE

heres what i use.

div.navsub {  
margin-right:10px;  
border-bottom: 1px #B6B6B6 solid;  
padding:0px 1px 0px 0px;  
}

div.navsub:hover {  
background-color:#780000;  
}

div.navsub#key {  
background-color:#780000;  
}

Nothing too crazy. I used a .htc for IE, i dont know if that will do anything.

Thanks for any help,  
-Naaman
