0

How to i do for getting more space between columns . Because they are very close . Please help me

Tell me what i do for getting space bar

31st May 2020, 8:14 AM
Ritik Saini 🇼🇳
Ritik Saini 🇼🇳 - avatar
5 Answers
+ 4
What he htm and spac? Please use appropriate tags ,and your question isn't clear ,take time to write one properly,as far as I understand you can give a specific width and height to each column for table(I am assuming you are talking about table in html) or add a height and width attribute in table tag ,if you can link your code that will help in providing a better solution
31st May 2020, 8:19 AM
Abhay
Abhay - avatar
+ 2
If you want space between column in table : HTML: <table> <tr> <td>First Column</td> <td>Second Column</td> <td>Third Column</td> </tr> </table> CSS: table { border-collapse: separate; border-spacing: 50px 0; 7} td { padding: 10px 0; }
31st May 2020, 8:30 AM
Abdulsalam Al-Ashwal
Abdulsalam Al-Ashwal - avatar
+ 1
When working with columns, you might notice that between each column is a space, or gap. The browser sets the gap to 1em. Generally, 1em is a comfortable space between columns. If you find that the gap is too wide, or too narrow, you can adjust it with column-gap. article { -webkit-columns: 2; -moz-columns: 2; columns: 2; -webkit-column-gap: 20px; -moz-column-gap: 20px; column-gap: 20px; }
31st May 2020, 8:27 AM
Abdulsalam Al-Ashwal
Abdulsalam Al-Ashwal - avatar
0
Do you mean cellpadding and/or cellspacing attributes?
31st May 2020, 8:27 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
0
Use padding
31st May 2020, 8:33 AM
Omkar Kamat
Omkar Kamat - avatar