Cell Padding and Spacing

Cell Padding and Spacing+issue

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.

Status:
answered
Tags:

  • View
  • Changes
  • Options
  • Related
  • 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

    try it

     

    wagneers

    intro

    videos

    features

    syntax

    weekly calls

    ideas

     

    twitter

    mailing list

     

    developers

    roadmap

    next release

    tickets

    pack API

    REST API

    one-pager

     

    github

    mailing list

     

    wagn.org

    recent

    todo