Deprecated cellspacing and cellpadding

If you’re building your sites using XHTML or HTML5 you should not be using cellspacing and cellpadding in your tables.

In fact you should not be using tables.

Anyways here the conversion:

cellpadding

cellspacing

3 comments
  • I agree we shouldn’t be using tables for websites.

    However, the people in charge of deprecation are forgetting that we are still using tables to design emails. And although we can use inline-css, the border spacing doesn’t work the same way as the now deprecated cell-spacing table attribute. This has created display problems in IE, which is what our clients use…

  • Don’t be ridiculous. Tables should not be used for site structure yes I agree HOWEVER, that doesn’t mean that tables don’t have a place in web development. if you want to display data in a table-like format you would want to use…oh wait, I know this, OH YEAH: a table. In other words table based design is bad but tables are not.

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*