IBM developerWorks
           Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 23rd, 2004, 10:20 AM
itfcfan itfcfan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Norwich, UK
Posts: 43 itfcfan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 40 m 18 sec
Reputation Power: 5
Image Replacement Technique

Hi all,

I quite often find myself frustrated when trying to optimise a site, by the number of graphical heading which are used, when a <h1> heading could be used which much better effect.

After having a little mess around, I've found that there's an easy way using CSS that you can use your <h1> heading which search engines (and people requiring accessible websites) will love and still show the graphical headings to keep the same look of the site.

Basically, you nest the text in a <span> inside a <h1> like this:

Code:
<h1 style="background-image:url(title.gif);width:200px;height:20px;"><span style="display:none;">title</span></h1>


When doing this for real, I'd put the style declarations in a stylesheet rather than declaring them inline. For my an example, I've recently applied this technique to a website I'm working on. The url is http://www.sec-online.co.uk/.

Has anyone else got any techniques for making textual images more accessible/search engine friendly?

Cheers,

John Levermore
http://www.johnlevermore.com/

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignSearch Engine Optimization > Image Replacement Technique


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway