Answers for "how to add space tp table contents html css"

CSS
1

how to add space tp table contents html css

table{ 
border-collapse:separate; 
border-spacing: 0 15px; 
} 
th{ 
background-color: #4287f5; 
color: white; 
} 
th,td{ 
width: 150px; 
text-align: center; 
border: 1px solid black; 
padding: 5px;
}
h2{ 
color: #4287f5; 
}
Posted by: Guest on May-02-2020

Browse Popular Code Answers by Language