Table borders collpase CSS - Tryit Editor for Web Developers
Edit This Code:
See Result »
<html> <head> <style> table { border-collapse: collapse; font-size: 30px; } table, td, th { border: 5px solid red; } </style> </head> <body> <h2>Let the borders collapse:</h2> <table> <tr> <th>Firstname</th> <th>Lastname</th> </tr> <tr> <td>Ali</td> <td>asad</td> </tr> <tr> <td>Akram</td> <td>Rashid</td> </tr> </table> <br><br> <img src="logo.jpg"/> </body> </html>
Result: