Is it possible to set cell padding and cell spacing in CSS?

Welcome to our community

Be apart of something great, join today!

radix24

Newbie
Messages
12
Reaction score
1
Points
3
Hello,

I know in an HTML table, the cell padding and cell spacing can set like this:
Code:
<table cellspacing="1" cellpadding="1">

How can the same be accomplished using CSS?
 

edwin

Moderator
Messages
42
Reaction score
3
Points
8
This works for all browsers.

You don't have permission to view the spoiler content. Log in or register now.

The * declaration is for Internet Explorer 6 and 7, and other browsers will properly ignore it.

Hope this help :)
 
  • Advertisement
  • Advertisement
  • Advertisement

    Top