Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

What is the best practice for image replacement?

Image replacement best practice.



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

5+ Year Member

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)

WebmasterWorld Senior Member 10+ Year Member

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.


Featured Threads

Hot Threads This Week

Hot Threads This Month