#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2016
    Location
    Lakewood, WA
    Posts
    98
    Rep Power
    17

    Table borders...


    When using:
    Code:
    .maunTable {
       border-collapse: collapse;
       border: 2px solid black;
       border-radius: 10px;
    }
    ...on a table, the cells within the table have no border.

    I would like them to.

    What am I doing wrong?
  2. #2
  3. Lord of the Dance
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Oct 2003
    Posts
    4,111
    Rep Power
    2010
    You also need to specify for td element:
    Code:
    .maunTable, .maunTable td{
       border-collapse: collapse;
       border: 2px solid black;
       border-radius: 10px;
       cell-border: 2px solid black;
    }
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2010
    Location
    Gujarat, India
    Posts
    14
    Rep Power
    0
    Here you go A Pen by Aslam Doctor

IMN logo majestic logo threadwatch logo seochat tools logo