www.webdeveloper.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: Opinions on using tables to display images

  1. #1
    Join Date
    Nov 2003
    Location
    Canada
    Posts
    1,592

    Opinions on using tables to display images

    A few times since I have learned to use CSS for layout, I have wanted to display a set of images. Say, I have nine images I want to display in a block of 3 images x 3 images. I've been wondering if using a table to display these images would be proper at all, even though they are not exactly tabular data. The code used for displaying them with a table would be much shorter than styling <div>'s and the likes. And if the table was styled with CSS...

    Is it ok to do that, or not?
    Windows XP SP2 - theme: Thallos
    AMD Athlon 64 X2 4600+ | ASUS M2N32-SLI Deluxe | 2 * 1024 PC2-6400 Mushkin DDR2-800 | eVGA GeForce 6800XT 256MB | Creative Sound Blaster X-FI Music
    5 * 320GB Seagate Barracuda SATA-II 3Gb/s in RAID 5 | Lite-On 16x DVD-RW | Mitsumi 7-in-1 Floppy drive and card reader
    Samsung SyncMaster 204B 20" TFT LCD | Logitech G15 Keyboard | Logitech G7 Mouse | Seasonic PC160SK Headset

  2. #2
    Join Date
    Jul 2003
    Location
    Boston Area, Massachusetts
    Posts
    3,489
    Nope, this is also wrong application of a table. CSS and lists do the job just fine.

    See: <http://www.vladdy.net/demos/gallery.html>.

  3. #3
    Join Date
    Nov 2003
    Location
    Canada
    Posts
    1,592
    Ah, good old Vladdy

    Merci.
    Windows XP SP2 - theme: Thallos
    AMD Athlon 64 X2 4600+ | ASUS M2N32-SLI Deluxe | 2 * 1024 PC2-6400 Mushkin DDR2-800 | eVGA GeForce 6800XT 256MB | Creative Sound Blaster X-FI Music
    5 * 320GB Seagate Barracuda SATA-II 3Gb/s in RAID 5 | Lite-On 16x DVD-RW | Mitsumi 7-in-1 Floppy drive and card reader
    Samsung SyncMaster 204B 20" TFT LCD | Logitech G15 Keyboard | Logitech G7 Mouse | Seasonic PC160SK Headset

  4. #4
    Join Date
    Jan 2004
    Posts
    2,422
    Wait... french and english together? CANADIAN!!!

    Kind of on the same topic, but kind of not... tables are fine for calendars (for blog archives), right?

  5. #5
    Join Date
    Aug 2003
    Posts
    1,576
    absolutely

  6. #6
    Join Date
    Jan 2004
    Posts
    2,422
    Alright, good- otherwise I'd be in trouble.. O.o Hm... Is it also okay if you have a master table (the year) with each row containing 3 tables, each a month..? Or should I <div>ide the months by 3, instead of using a master table...?

  7. #7
    Join Date
    Aug 2003
    Posts
    1,576
    I've never seen a semantically correct situation in which nested tables is required, I might be wrong though

  8. #8
    Join Date
    Jan 2004
    Posts
    2,422
    I'ma hold back the obvious comment and just switch over to <div>s.

  9. #9
    Join Date
    Dec 2003
    Location
    A series of tubes known as the "internets"
    Posts
    2,166
    forgive my ignorance, but what exactly IS a nested table?
    "Outside of a dog, a book is a man's best friend. Inside a dog, it is too dark to read." - Mark Twain

  10. #10
    Join Date
    Jul 2003
    Location
    New York City
    Posts
    2,771
    A table inside a table.

    Code:
    <table>
    <tr>
    <td>
      <table>
      <tr>
      <td></td>
      </tr>
      </table>
    </td><td></td>
    </tr>
    </table>
    You get the idea...

  11. #11
    Join Date
    Jan 2004
    Posts
    2,422
    RHS, your limitless ignorance CAN'T be excused. Sorry.

  12. #12
    Join Date
    Dec 2003
    Location
    A series of tubes known as the "internets"
    Posts
    2,166
    goo....that code IS scary.
    "Outside of a dog, a book is a man's best friend. Inside a dog, it is too dark to read." - Mark Twain

  13. #13
    Join Date
    Jan 2004
    Posts
    2,422
    Heh. Now that public access is (somewhat) back: http://151.203.70.109:81/archives/ is the page in question.

  14. #14
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    Originally posted by rhsunderground
    forgive my ignorance, but what exactly IS a nested table?
    You need to clean your ears about, we have been ranting about nested tables for quite some time now

    Well... knowledge is power.

  15. #15
    Join Date
    Jan 2004
    Posts
    2,422
    The thread rapist is right. Start reading around more often.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles