www.webdeveloper.com
Results 1 to 3 of 3

Thread: Boarder inside a Cell

  1. #1
    Join Date
    Dec 2002
    Location
    Upstate NY
    Posts
    2

    Boarder inside a Cell

    Hi everyone, this is my first time posting. I am creating a web site that calls for a “boarder inside a cell” with "no" boarder around the Table (just in one cell).

    It's been a long time since I worked with html and I am the first to admit that I am a wee-bit rusty.

    Any help you can give would be greatly appreciated.
    Last edited by ladynimue; 12-26-2002 at 01:50 PM.

  2. #2
    Join Date
    Nov 2002
    Location
    London UK
    Posts
    154
    I suppose the eaisest way would be to use a style sheet. Here's a sample table:

    <table>
    <tr>
    <td>content</td>
    <td>content</td>
    </tr>
    <tr>
    <td>content</td>
    <td>content</td>
    </tr>
    <tr>
    <td>content</td>
    <td class="aborder">content</td>
    </tr>
    <tr>
    <td>content</td>
    <td>content</td>
    </tr>
    </table>

    Then put this style sheet in the head section of your document. In this example I put the border around the last cell in the third row, but obviously you can move it where you want.

    <style type="text/css">
    .aborder {border: solid black 1px;}
    </style>

    So this will place a 1 pixel black solid border around the cell that uses the aborder class.

  3. #3
    Join Date
    Dec 2002
    Location
    Upstate NY
    Posts
    2

    thank you so much :)

    Thanks so much for the excellent advice. Works perfectly! You made my Christmas Day!

    Hope your holiday is filled with Magical Moments!

    ladynimue

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