Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    May 2004
    Posts
    388
    Thanks
    73
    Thanked 0 Times in 0 Posts

    pictures with labels?

    Hi all. Is it possible with CSS to have a picture and directly below it place some comments?

  • #2
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Sure. Can you be more specific as to what you're looking for, maybe post a screenshot?

  • #3
    Regular Coder
    Join Date
    Sep 2007
    Location
    Raleigh, NC
    Posts
    273
    Thanks
    7
    Thanked 59 Times in 52 Posts
    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.

  • #4
    New Coder
    Join Date
    Oct 2007
    Posts
    22
    Thanks
    0
    Thanked 4 Times in 4 Posts
    <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>

  • #5
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Quote Originally Posted by vtjustinb View Post
    I've always been a fan of marking image/captions up in definitions lists though.
    Same here…I wrote up this example for someone on this forum (can't remember the thread). Maybe that will help, nikko…


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •