Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add alt text to css rollover text? 1

Status
Not open for further replies.

DrySnot

Technical User
Nov 29, 2007
46
Is there any way to do do this? Right now if you view the page without images no text displays over over the links.

Code:
<table align="center">
<tr>
<td><a href="index.html" class="home">Home</a></td> 
<td><a href="forums/index.php" class="forum">Forum</a></td>
<td><a href="snotshop.html" class="snotshop">SnotShop</a></td> 
<td><a href="contact.html" class="contact">Contact</a></td> 
<td><a href="links.html" class="links">Links</a></td> 
</tr></table>

DrySnot: Job Forums, Resume Help Forums, and Interview Advice Forums.
 
If I'm understanding this right, just add a title attribute to your links.
<a href="index.html" class="home" [red]title="whatever you want the alt text to say"[/red]>Home</a>


If not, maybe you could elaborate a bit more on what it is you want.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
I have tried that already but its not showing up any of the text.

The problem is I have images of text and I use css to rollover the images.

I just found out that text only browsers are not picking up the links. If you open the page without images you can still click on my links you just can see where they are or tell what link you are clicking.

DrySnot: Job Forums, Resume Help Forums, and Interview Advice Forums.
 
Well of course not because there's nothing to tell you there's a link there, since you have your text indent at -9999 your effectively sending your text outside the viewable area.

However, there should be no problem with the title attribute text even if your using CSS roll overs. They should not conflict with one another.



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top