Results 1 to 4 of 4

Thread: Captions under Photos?

  1. #1
    Junior Registered
    Join Date
    Oct 2008
    Posts
    6

    Captions under Photos?

    Have about 15 photos (thumbnail size) that I want to put captions under, but for whatever reason I having a difficult time. Put them in tables at first, and that didn't work....

    Any suggestions? My code looks like this


    <img src="images/IMG_2776smaller.jpg" width="340" height="225" border="4px" color="white">
    <img src="images/IMG_2442smaller.jpg" width="340" height="225" border="4px" color="white">
    <img src="images/IMG_2393smaller.jpg" width="340" height="225" border="4px" color="white">

    <img src="images/shootingsmaller.jpg" width="340" height="225" border="4px" color="white">
    <img src="images/with-camerasmaller.jpg" width="340" height="225" border="4px" color="white">
    <img src="images/faysanfran.jpg" width="340" height="225" border="4px" color=

  2. #2
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    I generally use divs for captions

    <div style = "usually a border of some such type, and a background shade a little darker than the rest of the page, and of course caption text styling">
    <img style = "display: block">
    Caption here
    </div>
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  3. #3
    Quahog's Most Wanted Dan Schulz's Avatar
    Join Date
    Feb 2007
    Location
    Aurora, Illinois
    Posts
    91
    What is the finished page going to look like? Depending on how the content is organized on the page, I may end up recommending a table (if the content is best suited for tabular data) or possibly a list (if it's list based content).
    "Far away in cyberspace are my highest aspirations. I may not reach them, but I can envision their beauty, believe in them, and try to follow where they lead me."
    —Anonymous

  4. #4
    Junior Registered nevillep's Avatar
    Join Date
    Jan 2009
    Location
    India, Bombay (Santacruz)
    Posts
    3

    Captions Under Images

    Hi Barnum
    I agree with the method that Chris uses for displaying the caption of the image, however I have another way which will allow the user know the image name when the mouse cursor is moved over the image and also display the title / Caption as well as allow the user to save the images (download) on thier disk. The Code is listed below :
    <img src="image name.extn" alt="[name / Caption]" height="120" width="140"></img>
    <caption align="bottom">[name / Caption]</caption>
    Regards and Thanks
    Neville

    ------------------------------------------------------------
    Diamond is a lucky piece of Charcoal to be under pressure

Similar Threads

  1. Idea... I need your opinions
    By aaandy in forum Business and Legal Issues
    Replies: 5
    Last Post: 01-02-2007, 03:42 PM
  2. Free stock Photos
    By John in forum Graphics & Multimedia
    Replies: 15
    Last Post: 03-02-2006, 11:39 AM
  3. Yahoo Editors: Top Stories & Photos '05 in Flash
    By ! search-engines- in forum Graphics & Multimedia
    Replies: 0
    Last Post: 12-22-2005, 06:04 PM
  4. Travel Photos for my Site
    By brightnine in forum General Promotion
    Replies: 16
    Last Post: 10-09-2005, 01:53 AM

Bookmarks

Posting Permissions

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