Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jul 2004
    Location
    Hampton, New Hampshire, USA
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Identifying Tables

    Hi All, I recently inherited the responsibility for maintaining our company's website. The layout for which appears to be controlled by using a number of nested Tables. I must confess that I find it a bit confusing trying to figure out which Table is displayed where on the page. Is there a way to label the Tables so that I can determine which is which? <img src=/S/confused3.gif border=0 alt=confused3 width=45 height=45>
    <font face="Comic Sans MS">MickeyMouse</font face=comic>
    How best to describe the Lounge-
    "Coming together is a beginning, staying together is progress, working together is success"

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Identifying Tables

    I usually turn all table borders on (using border=1 in each table) to help me see the lines to know which table is which.

    Another thing I do from time to time is type temporary text in a table cell (that's the "td" tag) to identify any cell in question.

    Finally, I would suggest making sure the code is formatted consistently for maximum readability. If you're using an application like Dreamweaver or FrontPage you should be able to have it reformat the code for you. If you're in the slightly more hardcore crowd, using a basic text editor like Notepad, you'll want to carefully add tabs and line breaks to make the appropriate changes.

    The typical table formatting scheme is similar to this:<pre><table>
    <tr>
    <td>
    <table>
    <tr>
    <td></td>
    </tr>
    </table>
    </td>
    </tr>
    </table></pre>

    I used 2 spaces for each indent, but many people use 4. The important thing is consistency.

    Hope this helps!

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Identifying Tables

    Adding the TITLE attribute to your TABLE tag should create a mouseover label. However, there's no guarantee that this will percolate down to every cell in the expected manner. Might be worth testing, though, as it's something you can leave in the live page for future reference (unlike, say, a hot pink background color).

Posting Permissions

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