Loading Please Wait...
The CSS border property can be used to style border of the table.
We can style border for <table>, <tr>, <th>, <td>, <thead>, <tbody>, and <tfoot>.
table, th, td {
border: 1px solid;
}
When we add border for <table>, <th>, and <td>, we see that now the table have double border. This is because one border is for <table> itself and second border is for <th> and <td>.
To overcome this, we can use CSS border-collapse property. This will collapse border into one.
table, th, td {
border: 1px solid;
}
table {
border-collapse: collapse;
}
How you feel about this blog:
Share this blog on:
If you find any error in the turtorials, or want to share your suggestion/feedback, feel free to send us email at: info@lynxsia.com
Contact UsWe are concern with various development process like website design & development, E-commerce development, Software development, Application development, SMS & Bulk SMS Provider, PWA Development, and many more..
Copyright ©
, Lynxsia IT Solutions, All rights reserved