...

View Full Version : UL with images instead of text ?



guermantes
02-14-2009, 04:20 AM
Hi,

Is a CSS navigation menu consisting of an unordered list with images + alt-tags more un-friendly to search engines/google indexer robots than if I would use regular text instead of the images?

Thanks!

/p

Excavator
02-14-2009, 05:01 AM
Hello guermantes,
I'm not sure what this does to search engines but you typically see image buttons with text in the link that's hidden with either margin-left: -9999px; or display: none;

That way you still have links visible if there are no images or CSS.

brazenskies
02-14-2009, 10:08 AM
in SEO text links are still king

guermantes
02-14-2009, 05:05 PM
Hi,

Thanks for replying. And wow, I was so stupid: I was originally planning a solution with CSS background images and the textlinks set with display:none, but then I realized that I could not use alt-tags with background images so I discarded that idea, and threw out the baby with the bathwater without realizing I could keep the display:none part even when using regular images. :thumbsup:

Oh well, time to get on with the code I guess.

Thanks again!

_Aerospace_Eng_
02-14-2009, 05:23 PM
I don't think you are going about this the right way. Use a negative text-indent on the links, use background images as they are presentational. Rather than using the alt attribute you can use the title attribute on the actual links themselves. Search engines will see your text but not the images. Its a win win situation as the images won't have to load each time as the CSS will have been cached. Do a search for "image replacement techniques". You will get a lot of info explaining what I just described.

Excavator
02-14-2009, 05:41 PM
Hi,

Oh well, time to get on with the code I guess.

Thanks again!

Have a look at this example - http://nopeople.com/CSS/h_ul_menu-with_images/index.html



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum