Results 1 to 2 of 2

Thread: Help With CSS to Replace A Table

  1. #1
    Join Date
    Feb 2006
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help With CSS to Replace A Table

    I have been going thru my HTML and replacing the presentation elements of html (like the font tag) with CSS

    But I am new to CSS so I'm kind of stuck here.

    What I have is a table.

    It consists of 3 columns.

    The left column is an abbreviation. The center column is abbreviation written out and the right column is the definition


    So it looks kind of like this

    First Column--->Second Column--->Third Column
    Abbrev-------->Spelled out------->Definition

    Here's an example

    NS------------>No Show---------->Make A reservation and fail to show up



    I used a table for presentation

    Is there anyway in CSS to do this WITHOUT a table?

    I tried to do positioning but with the different number of words it never looks right

    Any ideas?

    Thanks

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    That is truly a table, containing tabular data. This is the use to which tables were intended to be put, and there is no need to change it. The problem is with tables that are used to lay out the page.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •