SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru
    Join Date
    Nov 2008
    Posts
    622
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    tabular data without <tables> <td> tags

    hi all

    i m working on displaying a shopping cart details in tableless format.

    But the left border of the items "price" and "quantity" doesnt equal to the height of "item name".

    http://wdpixels.com/stuff/tabless_table.html

    vineet

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,214
    Mentioned
    457 Post(s)
    Tagged
    8 Thread(s)
    Put tabular data in a table. That's what it's for.

    To do otherwise is poor coding, as you lose all meaningful associations of that data. These are not paragraphs.

  3. #3
    SitePoint Guru
    Join Date
    Nov 2008
    Posts
    622
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    thank ralph for clarifying.

    i will use tables for it

    vineet

    Quote Originally Posted by ralph.m View Post
    Put tabular data in a table. That's what it's for.

    To do otherwise is poor coding, as you lose all meaningful associations of that data. These are not paragraphs.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,214
    Mentioned
    457 Post(s)
    Tagged
    8 Thread(s)
    Yes, tables aren't bad as such. They just have their place. If you have data in rows and columns, that's where you need a table, as it relates those rows and columns together meaningfully.


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
  •