In a table how can you disable the padding between tr's and td's? I have tried setting padding to 0.
Asked
Active
Viewed 220 times
1 Answers
0
You need to set the border-collapse and border-spacing. Here's a jsfiddle that has an example.
include the following css in your code, or put it in a class and assign that class to your table
table {
border-collapse: collapse;
border-spacing: 0;
}
Here's a good writeup of border-collapse
Here's a writeup of border-spacing

trmiller
- 183
- 5