Helping ordinary people create extraordinary websites!

Go Back   Web Development Forum > Website Management > Search Engine Optimization
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-15-2008, 08:39 PM
Member
 
Join Date: Aug 2005
Posts: 88
Default images text

When i link a image, how can i add text to the image and i dont mean alt

basically when i run my url through my seo software it says text link for the link is empty, is there a way i change this
__________________
md
AskAGeek.com - Where geeks answer your computer and tech questions.
Ann-Lindsey.com - My Wife's Budget Fashion and Shopping Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-15-2008, 09:25 PM
BigAlReturns's Avatar
Moderator Extraordinaire!
 
Join Date: Dec 2007
Location: The Wirral, England
Posts: 291
Send a message via MSN to BigAlReturns
Default

The best technique for this situation is CSS image replacement. Basically you have the link as a normal text link, but using CSS you hide the text and replace it with an image. There are several techniques, and I'm not too clued up on the specifics (search Google for "CSS Image Replacement Technique" or something similar), but I'd do it something like this:

Code:
css
a.imglink {
background: url("yourimage.jpg");
// some form of text hiding, whatever comes recommended - maybe negative indentation?
}

html
<a href="wherever" class="imglink">Anchor Text</a>
Now you may think that this is subversive, and might incur SE penalties, but as long as the image is representative of the anchor text, then you'll be ok. As a general safeguard, turn CSS off and view the page - if it doesn't look dodgy like this then it's fine. Obviously don't fill the anchor text with loads of keywords that the image doesn't represent - this is SE manipulation and will deservedly be penalised if you are caught.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 12:06 AM
ryanhellyer's Avatar
Super Moderator
 
Join Date: Dec 2007
Posts: 708
Default

Quote:
Originally Posted by md_doc View Post
When i link a image, how can i add text to the image and i dont mean alt

basically when i run my url through my seo software it says text link for the link is empty, is there a way i change this
What SEO software is this? I wasn't aware such a thing existed.

To follow on from BigAl's tips, the simplest method for replacing text with an image is to use display:none for the text, but this means that there is no text displayed at all if the image doesn't display which is bad. So to get around that problem you need to use a more complicated route to solve the problem. Here is a link with lots of information about various techniques ...
http://www.mezzoblue.com/tests/revis...e-replacement/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:45 AM.


Website Design by Ducani Media Group
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.