Back to list
Views:   3.3K
Replies:  0
Archived

Setting a table's cellpadding, cellspacing, and border in CSS

I believe I am showing my age with my table formatting in HTML:
<table cellpadding="2" cellspacing="1" border="0">
  <tr>
     <td>..</td>
  </tr>
</table>
My code editor tells me that cellpadding and cellspacing are 'unknown attributes'.  I suspect that border is also being phased out. 
What are the proper ways to format these in CSS?

Thanks,
JP
 
Juan Perez, Oct 23, 2013


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