rxbanditboy1112 Posted August 9, 2007 Share Posted August 9, 2007 http://www.parrisstudios.com/mirage_framing/ It is a simple a:hover type thing, but I am not sure why it isn't working properly. ul a{ line-height:20px; float:left; display:block; padding: 0 20px; text-decoration:none; color: #C0AEA0; position:relative; } li a:hover { float:left; position:relative; background-color:#EADED2; line-height:20px; } ul li{ float: left; background-color:#ffffff; position:relative; line-height:20px; } li a{ display:block; text-decoration:none; color: #C0AEA0; float:left; position:relative; line-height:20px; } Quote Link to comment Share on other sites More sharing options...
dbrimlow Posted August 9, 2007 Share Posted August 9, 2007 You need to put the four link states in proper order. It is ALWAYS: a:link, a:visited a:hover, a:active li a:link, li a:visited { display:block; text-decoration:none; color: #C0AEA0; float:left; position:relative; line-height:20px; } li a:hover, a:active { float:left; position:relative; background-color:#EADED2; line-height:20px; } They only work when in order ("link, visited, hover, active" - "LVHA" - "LoVe HAte") Quote Link to comment Share on other sites More sharing options...
rxbanditboy1112 Posted August 9, 2007 Author Share Posted August 9, 2007 AWESOME! Thanks for the help. Mixed with that and removing some unnecessary lines i got it to do what I want now . Quote Link to comment Share on other sites More sharing options...
dbrimlow Posted August 10, 2007 Share Posted August 10, 2007 Once again LoVe HAte saves the day! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.