|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem getting anchor hover to work with li and ul tags
Hi,
I am trying to get a hover to work with my links. The problem is when i have a list-style-type in css. When that exists, the link text for each link goes behind the bullets instead staying to the right of them. What do i need to do to have a list-style and the hover effect hovering over the links? |
|
#2
|
||||
|
||||
|
Could you post a link to your website so we can take a look at the code? Also, what browser does this error occur in? Since you are a new user you can't post links, so try putting your link in this format: (omit http://) www .yoursite. com/testpage.html
Cheers
__________________
"Quality of responses may vary. I reserve the right to change my mind for any reason what-so-ever without admitting I was wrong. I'd prefer to change your mind however, it's easier on my ego". - jwdonahue |
|
#3
|
|||
|
|||
|
Quote:
Thanks for your reply. I was able to figure it out before coming back to this site for replies. It was a matter of adding a p tag to the words that each link weas around (example <a><p>text</p></a>). |
|
#4
|
||||
|
||||
|
What you described is invalid code because you are nesting a block element (<p>) inside an inline element (<a>). There is obviously a better solution and if you care to post a link I am sure I can come up with an alternate solution that is much better
![]() Cheers |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Problem getting anchor hover to work with li and ul tags |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|