Results 1 to 4 of 4

Thread: Table

  1. #1
    amani
    Guest

    Table

    Hi,
    Can any tell me is there a way to put borders to individual cell of the table in HTML

  2. #2
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602
    Sure you can :

    Code:
    <table BORDER = "1" BORDERCOLOR = "white">
    <tr>
    <td BORDERCOLOR = "blue"></td>
    </td>
    </table>
    In order for this to work you have to make sure that you have a BORDER or 1 or greater. The above code can produce some interesting effects if you have the BODY BGCOLOR set to the same color as the BORDERCOLOR of the table. The main table BORDER seems to disappear with the individual cells outlined.


    Chris
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

  3. #3
    amani
    Guest
    Hi,
    Thank you for your suggestion but the same is not working when I open in Netscape Navigator. Any good suggestions or fixes please......................

    Thank you
    Neti

  4. #4
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602
    You could try to set it in a style sheet:

    <style TYPE = "text/css">

    .redBorder {border-color:red;}
    .blueBorder {border-color:blue;}

    </style>

    Then set the CLASS = "redBorder" in a <TD> tag. <td CLASS = "redBorder">

    Just another one of Netscapes short comings.


    Chris
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

Posting Permissions

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



Click Here to Expand Forum to Full Width