[ 2 posts ]

joe P

  • Username: m3cflvi
  • Joined: Tue Sep 15, 2009 10:39 am
  • Posts: 3
  • GitHub: joa
  • Gists: joa
  • Offline
  • Profile
Tags:

Adding Hover to Menu and Overriding CSS

Post Posted: Fri Sep 18, 2009 11:13 am
+0-
In menu.css this code appears to display the link hover. To make the text appear underline during hover, I added div#nav ul li.gray a:hover

However I cannot make the text underline. How do I override this to make it display with underline text.
{
background-image: url(../../../images/nav/gray_over.png);
text-decoration: underline;
}
/* end nav - gray background */


div#nav ul li.gray a:hover
{
background-image: url(../../../images/nav/gray_over.png);

/* end nav - gray background */

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile
Tags:

Re: Adding Hover to Menu and Overriding CSS

Post Posted: Fri Sep 18, 2009 11:38 am
+0-
How about posting a link? It's easier to debug when we can see it..
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum