Back to list
Views:   11.2K
Replies:  1

How to set table cellspacing="0" and cellpadding="0" in CSS?

When I code a table with cellpadding and cellspacing in Visual Studio 2012 I get red squiggly underlines. 

<table cellpadding="0" cellspacing="0" border="0">
  <tr> ... </tr>
  <tr> ... </tr>
  <tr> ... </tr>

So, clearly it wants me to move these settings to CSS. But what do I put there?
I don't think padding:0px and spacing:0px will do the job. 

Deshaun Hyram, May 10, 2013
Reply 1

Here's the CSS that will achieve what you need.

Norman Bell, Jun 28, 2013
&quot;Static implementations can cause dependency headaches. &quot;..... Can you tell me how static implementations can cause dependency headaches as compared to Singleton. I donot think this is a valid reason for going for singleton.
Apr 18, 2012

Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.3.0