Table Borders

Results 1 to 2 of 2

Thread: Table Borders

  1. #1
    Join Date
    Dec 1969

    Default Table Borders

    I am using tables within my ASP page. Currently I am having problems setting a single border around the 1st original table. Everytime I indicate a border=1, I also get borders around every row and column and sub tables even though I set those border=0. Is this a problem because I am using an ASP page or is it simple coding with my tables. I would like to be able to use code to simply put borders around an entire table but not within the rows and columns. Any ideas or suggestions.

  2. #2
    Join Date
    Dec 1969

    Default RE: Table Borders

    I don&#039;t think the TD tag supports borders. If you set the border in the TABLE tag, then it puts borders around everything. The best way to avoid this is to use stylesheets. <BR><BR>table { border:1px solid black; }<BR><BR>This will put a border around every table, but not around the individual cells. Of course, this only works in IE4.X and above, and Netscape 5.X and above. In Netscape 4.X the borders will not show.<BR><BR>HTH,<BR>Chris

Posting Permissions

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