close open_in_new

Support Ticket

Cell Padding and Spacing+status
help edit
answered
Cell Padding and Spacing+tag
help edit
HTML
CSS
 

Cell Padding and Spacing+issues

help edit

I'd like to be able to add cell padding and spacing to tables on wagn cards. cellpadding and cell spacing seemed to get stripped in HTML cards and I can't get the syntax to work in my *CSS card.

Cell Padding and Spacing+example

help edit

http://thefarmschool.wagn.org/wagn/Community_Based_Schooling_and_Social_Structures

 

Cell Padding and Spacing+discussion

help edit

Could you point to an example of the stripping? --John Abbe


Thanks John. Just added the example.

  --Peter Kindfield.....Fri Jun 04 04:15:31 -0700 2010


The code doesn't actually get stripped, it just seems to be ignored. Or, I just don't have the syntax right.

  --Peter Kindfield.....Fri Jun 04 05:52:50 -0700 2010


I see it; not sure why it's not working. Ethan, Lewis?

  --John Abbe.....Sun Jun 06 04:18:44 -0700 2010


the cellpadding, which is table level, looks like it's getting overridden by this (default) css, which is cell level and therefore more specific:

 

td, th { padding: 0 }

 

my suggestion would be to give the table an id, like "peter-table" and then add some css for that table like this:

 

#peter-table td {padding: 10px }

 

fwiw, Wagn never does any stripping on HTML cards.

  --Ethan McCutchen.....Fri Jun 11 09:39:09 -0700 2010


Thanks so much Ethan. I used "td, th { padding: 10px }" in my *css card and all is as it should be ;-)

  --Peter Kindfield.....Sat Jun 12 11:34:58 -0700 2010