Previous Message
Next Message

Image Replacement Quirks

Sent by Chris Heilmann on 21 June 2004 01:01


>>You asked about an *image replacement technique*, now you are suggesting
>>that you are using the image as a background, which is true?
>>
>>    
>>
>
>Err, sorry?  I mean that marking up an image tag (as content) doesn't
>allow me to position it how I want it, so I need to instead I need to
>throw away the image tag, and use the image as a background.  What is
>wrong with this?
>  
>
A background is a background, animage is content. When you replace links 
or headlines with images then these images are content and need an 
alternative text. This can't be done with backgrounds. However, a clever 
replacement technique will have the real text content in there whilst 
displaying an image.

The problem with images as content is that they are fixed to a certain 
size  (resizing them with percentages looks bad), so sometimes you need 
to use an image as a background, and add a blank image above it to add 
an alternative text.


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: