SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2002
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    create table using CSS

    I need to create a table using CSS for this page:
    http://www.pjkinann.com/CanaanSound/pages/equip.php
    Right now it's 3 columns set up using CSS, but I really need rows also, thus a table using CSS.

    I've Googled for a tutorial but there doesn't seem to be anything very good, and in fact, very little actually. A couple things, but they are not explained well.

    And it is going to have categories that look like this image:
    http://www.pjkinann.com/process.jpg

    In other words Process is a category and then there are several rows of the name of the equipment and a photo of it across from the name.

    Then more categories in Column 1 like Mixing, Sound, Light, and each of those categories will have several equipment names and photos listed in Col 2 and 3.

    So I need a table rather than just rows or the equipment names and photos will not be horizontally level with each other.
    PJ

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,344
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    So I need a table
    Yes you do

    That's what tables are for and you should use then when you have to display tabular data. It would be entirely wrong not to use a table when tabular data is called for.

    It could be done in CSS but would not be semantically correct as you are displaying data items that have a direct correlation with each other.

    It's only using tables for layout that is bad. Using tables for tabular data is good


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
  •