Edit Code in left box and click Show Results button to see the result. | Home
<html> <!-- Mirrored from www.tutorialspoint.com/cgi-bin/practice.cgi?file=css_border_spacing by HTTrack Website Copier/3.x [XR&CO'2010], Thu, 01 Sep 2011 09:05:24 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack --> <head> <title>Practice CSS border-spacing Property</title> </head> <body> <style type="text/css"> table.one { border-collapse:separate; width:400px; border-spacing:10px; } table.two { border-collapse:separate; width:400px; border-spacing:10px 50px; } </style> <table class="one" border="1"> <caption>Separate Border Example with border-spacing</caption> <tr><td> Cell A Collapse Example</td></tr> <tr><td> Cell B Collapse Example</td></tr> </table> <br /> <table class="two" border="1"> <caption>Separate Border Example with border-spacing</caption> <tr><td> Cell A Separate Example</td></tr> <tr><td> Cell B Separate Example</td></tr> </table> </body> <!-- Mirrored from www.tutorialspoint.com/cgi-bin/practice.cgi?file=css_border_spacing by HTTrack Website Copier/3.x [XR&CO'2010], Thu, 01 Sep 2011 09:05:24 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack --> </html> |