Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
css vertical menu hover not working properly
Old 07-08-2009, 01:19 PM css vertical menu hover not working properly
ihsaan's Avatar
Extreme Talker

Posts: 155
Name: Ihsaan
Location: Botswana
Trades: 0
I have a css vertical menu at www.peblinds.co.za - i want the whole block to be a link and not only the text. You can view the css in the source
__________________

Please login or register to view this content. Registration is FREE
ihsaan is offline
Reply With Quote
View Public Profile Visit ihsaan's homepage!
 
 
Register now for full access!
Old 07-08-2009, 01:23 PM Re: css vertical menu hover not working properly
konetch's Avatar
Ultra Talker

Posts: 258
Trades: 0
I didn't look at the css but the most common problem is having a wider li element and a shorter a eleement. For example if your code right now is

Code:
  #menu a {
 width:auto;
 color:#fff;
}
  #menu li {
 width:300px;
}
You may want to change this to something like

Code:
  #menu a {
 width:300px;
 color:#fff;
}
  #menu li {
 width:300px;
}
If this doesn't work then I'll have to look through the stylesheet to find the error.
__________________
Alex
konetch is offline
Reply With Quote
View Public Profile
 
Old 07-08-2009, 01:27 PM Re: css vertical menu hover not working properly
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
Are you talking about the "our products" under the main menu?
It doesn't look like there are currently any links in that. But when you do add links, you just need to add "display:block" to your style for "a".

Also, just FYI, you are using the :hover psudoclass on the "li". This won't work in IE6. It only supports :hover on anchor (a) elements.
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Old 07-08-2009, 10:41 PM Re: css vertical menu hover not working properly
konetch's Avatar
Ultra Talker

Posts: 258
Trades: 0
oh yeah, you're right angele803. Sorry for the wrong code
__________________
Alex
konetch is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to css vertical menu hover not working properly
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23542 seconds with 12 queries