02-13-2004, 08:53 PM
I've been using empty div's to call on my images:
...but of course, I lose the alt attribute that some search engines count as content.
What's the best way to satisfy both?
02-13-2004, 10:32 PM
uh.. use image tags???
what advantages are there to your method? i assume you would be assining a background image to the DIV then?
02-13-2004, 11:28 PM
Is the image decoration or information?
Information (charts, graph, etc) should always be <img> tags so that the disabled can get some clue of what they're missing. Idealy you would also include a link to a text explaination of the information.
Decorative images are of no real significance and as such I can't see a problem with using <div>'s.
02-14-2004, 12:55 AM
I think the question was in reference to whether or not I should always wrap an img tag in a div floated left|right or float the image tag itself.