...

View Full Version : images and SE's



zoobie
02-13-2004, 08:53 PM
I've been using empty div's to call on my images:
<div class="cat"></div>
...but of course, I lose the alt attribute that some search engines count as content.
What's the best way to satisfy both?
Thanks

coder_seth
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?

mindlessLemming
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.

zoobie
02-14-2004, 12:55 AM
Just decoration....

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.

Thanks :p



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum