Forum Moderators: open
The exact same image can be placed on the same page via CSS - body {background: white url(one.gif)}.
In markup the alt attribute is used, in CSS the alt attribute cannot be used.
Should the CSS method of displaying images be used?
Thank you.
es
For any given image, ask yourself this:
"If someone with a screen reader (or with images disabled) came across my page, would I rather have this image be totally invisible, or still be represented by text?"
Sometimes decoration serves a function, and is worth having in the markup.