homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

What is the best practice for image replacement?
Image replacement best practice.

 12:52 am on Dec 13, 2008 (gmt 0)

Hello -

New to image replacement so I am wondering what the best practice is?

Is it still best to use css and make the image a background image and move the text out of the box?

Or is it use something like jQuery or sIFR?

just trying to learn best practice. thanks!



 11:53 am on Dec 13, 2008 (gmt 0)

Hi Blackcat74, Welcome to WebmasterWorld [webmasterworld.com] :)

There is no real standard per se it depends on your requirements.

CSS image replacement techniques work well for titles that wont change - so column headers and navigation for example. Unless you have a server side script used to dynamically generate images based text - but that's a whole other thread.

As far as I know you cannot use JQuery for image replacement as such - well you probably can, but in tandem with CSS or Flash.

sIFR is really good for dynamic titles, such as blog posts or article headers but does require users to have Flash/JavaScript running - but degrades well.

Personally I try to use as little image replacement as possible, keeping most text in section dependent CSS sprites if I have to.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved