How to remove cell spacing from tables using CSS
All Answers
total answers (1)
Severity: 8192
Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
Filename: libraries/Filtered_db.php
Line Number: 23
total answers (1)
Use the CSS
border-collapse
propertyBy default, there is some space between the borders of adjacent table cells, because the default border modal for the HTML tables is separated. But, you can overwrite this and create a table with collapsed border without any cellspacing by simply setting the CSS
need an explanation for this answer? contact us directly to get an explanation for this answerborder-collapse
property value for the<table>
element tocollapse
, as shown in the example below: