Issue
I want the words from my list to remain hyperlinked but not the bullet points themselves.Or is this something that has to be solved with CSS?
I wrapped each link attribute in an a tag. This changes the color and click-ability of both the bullet point and the text. I only want the words to be a hyperlink.
<ul>
<a href="https.random.com" target="_blank"><li>Home</li></a>
<a href="https.random.com" target="_blank"><li>About</li></a>
<a href="https.random.com" target="_blank"><li>Contact</li></a>
<a href="https.random.com" target="_blank"><li>Careers</li></a>
</ul>
Solution
It's easy if you think about it .. You are using a list element inside a link but you can try using the link inside the list element
<ul>
<li><a href="https.random.com" target="_blank">Home</a></li>
<li><a href="https.random.com" target="_blank">About</a></li>
<li><a href="https.random.com" target="_blank">Contact</a></li>
<li><a href="https.random.com" target="_blank">Careers</a></li>
</ul>
Answered By - The_phoenix
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.