...

View Full Version : pictures with labels?



nikko50
10-10-2007, 10:08 PM
Hi all. Is it possible with CSS to have a picture and directly below it place some comments?

rmedek
10-11-2007, 07:45 AM
Sure. Can you be more specific as to what you're looking for, maybe post a screenshot?

vtjustinb
10-11-2007, 09:07 AM
http://www.w3.org/Style/Examples/007/figures.html

That's a pretty good writeup on the subject by the W3C. I've always been a fan of marking image/captions up in definitions lists though.

_peter_
10-11-2007, 09:09 AM
<div style="position:relative">
<img src="img.jpg" alt="img" style="position:absolute:top:0;left:0;"/>
<div style="position:absolute:top:0;left:0;">some content</div>
</div>

rmedek
10-11-2007, 10:46 AM
I've always been a fan of marking image/captions up in definitions lists though.

Same here…I wrote up this example (http://littlethinky.com/examples/soldout.php) for someone on this forum (can't remember the thread). Maybe that will help, nikko…



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum