border mistake and not showing in 2.0

Discussion in 'HTML' started by danielhoin, May 17, 2006.

  1. danielhoin

    danielhoin Guest

    I have a table in asp.NET 2.0 and I place border="1" in the table tag
    and I get a border around the entire table, but not around the cells. I
    thought this was what I remembered to place a border around each cell,
    and sure enough, if I write a simple table in notepad, it looks right.
    Why am I not getting the cell lines in asp.NET, even though the syntax
    works for plain html?
     
    danielhoin, May 17, 2006
    #1
    1. Advertisements

  2. danielhoin

    Martin Jay Guest

    In message <>,
    danielhoin <> writes
    >I have a table in asp.NET 2.0 and I place border="1" in the table tag
    >and I get a border around the entire table, but not around the cells. I
    >thought this was what I remembered to place a border around each cell,
    >and sure enough, if I write a simple table in notepad, it looks right.
    >Why am I not getting the cell lines in asp.NET, even though the syntax
    >works for plain html?


    Do you have anything in your stylesheet that removes the border? For
    example:

    td{
    border: none;
    }
    --
    Martin Jay
     
    Martin Jay, May 17, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tshad
    Replies:
    0
    Views:
    2,501
    tshad
    Jan 31, 2005
  2. Ray Booysen
    Replies:
    2
    Views:
    845
    Ray Booysen
    Mar 28, 2006
  3. Tiger Hillside

    Border not showing up

    Tiger Hillside, Oct 29, 2004, in forum: HTML
    Replies:
    4
    Views:
    11,987
    Tiger Hillside
    Oct 29, 2004
  4. phl
    Replies:
    1
    Views:
    4,709
    Martin Jay
    Jun 8, 2006
  5. Coder
    Replies:
    1
    Views:
    919
    Cowboy \(Gregory A. Beamer\)
    Jun 24, 2006
  6. Replies:
    0
    Views:
    2,564
  7. =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=

    border-color: #003366; border-width: 2px;

    =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=, Jul 17, 2006, in forum: HTML
    Replies:
    64
    Views:
    4,245
    Adrienne Boswell
    Jul 30, 2006
  8. eddie wang

    border(grid line) now showing up

    eddie wang, Feb 11, 2004, in forum: ASP General
    Replies:
    2
    Views:
    316
    Roland Hall
    Feb 12, 2004
Loading...