...

View Full Version : Image Text vs Text for Navigation



htcilt
02-24-2010, 08:56 PM
Hi all,

I know its not good practice to use purely images for navigation buttons. I always try to use an image background with a hyperlink for the text.

However, for those occations where text is required on the image itself (e.g. using a non-websafe font), is there a way of also having the hyperlink also, but only 'visible' to screen readers etc

oracleguy
02-24-2010, 10:15 PM
If the image is inside of the anchor tag, you can use the alt attribute on the image to indicate what the text says in the image.

scripts99
02-26-2010, 07:33 AM
check 'dynamicdrive' to see demo online and to get code.

lots of fee coding is there. it is very popular and helpful.

abduraooft
02-26-2010, 09:41 AM
However, for those occations where text is required on the image itself (e.g. using a non-websafe font), is there a way of also having the hyperlink also, but only 'visible' to screen readers etcYou might also interested in an image based navigation with text-indents, see an example at http://andrislinz.ch/how-to-use-image-sprites-for-navigation-menu



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum