How to make dividing lines / borders in a table disappear using CSS?

I have a simple HTML table and I want the dividing lines (/ border?) To disappear. The desired end result is a table that is invisible except for the actual text.

I tried to set the "border" attribute to 0, it did not help. What is the correct CSS attribute that I should use?

+1
source share
2 answers
table, tr, td, th { border: 0; } 
+5
source

I think this is what you are looking for.

 <table border="0" cellpadding="0" cellspacing="0"> 

Greetings.

0
source

Source: https://habr.com/ru/post/1395361/


All Articles