Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to set space in table row ?

    • 0
    • 1
    • 1
    • 1
    • 0
    • 0
    • 0
    • 0
    • 403
    Comment on it

    HI all,

    We can't add the margin between row in table but we can add space using an alternative method.

    for this you have to add some property in your style.

    table { 
            border-spacing: 0 5px ;
            border-collapse: separate;
        }
    td, th{
            background: #ccc;
            padding: 10px;
        }
    

    See the output of upper code -

    findnerd findnerd findnerd
    findnerd findnerd findnerd
    findnerd findnerd findnerd
    findnerd findnerd findnerd

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: