1. #1
    Sencha Premium Member
    Join Date
    Nov 2007
    Location
    Moore, Oklahoma
    Posts
    469
    Answers
    8
    Vote Rating
    13
    Mthor will become famous soon enough

      0  

    Default Unanswered: cellpadding="5" not working in a tpl table

    Unanswered: cellpadding="5" not working in a tpl table


    in a tpl, we have a table with cellpadding="5" this works fine if viewed in a browser alone. If I add this table in a tpl cellpadding="5" is not working at all, any idea what to use

  2. #2
    Sencha User bricemason's Avatar
    Join Date
    Jan 2008
    Location
    Upstate NY
    Posts
    280
    Answers
    49
    Vote Rating
    44
    bricemason has a spectacular aura about bricemason has a spectacular aura about bricemason has a spectacular aura about

      0  

    Default


    The css in sencha is resetting the padding to 0. I would suggest that you manage this via css anyway. Any reason why you haven't done that?

    Brice
    Brice Mason
    Front End Developer
    Modus Create

    @bricemason
    bricemason.com

    Sencha Touch Screencasts
    Vimeo - Sencha Touch Channel

    Github Projects:
    Sencha Cordova Builder enables the automatic creation, building, and running of PhoneGap (Cordova) projects with Sencha Touch.

    Am I Sencha Touch Ready? checks your system to determine what you need to do to start Sencha Touch development. If you're having trouble getting up and running, try this out.

    Sencha Tools Bridge allows Sencha SDK Tools to co-exist with Sencha Cmd on the same system.

  3. #3
    Sencha Premium Member
    Join Date
    Nov 2007
    Location
    Moore, Oklahoma
    Posts
    469
    Answers
    8
    Vote Rating
    13
    Mthor will become famous soon enough

      0  

    Default


    I tried via css first and still did not work, I found a work around, and all is good,

    Thanks

  4. #4
    Sencha User
    Join Date
    Feb 2011
    Location
    Düsseldorf, Germany
    Posts
    580
    Answers
    34
    Vote Rating
    32
    Kurt001 has a spectacular aura about Kurt001 has a spectacular aura about

      0  

    Default


    Quote Originally Posted by Mthor View Post
    I tried via css first and still did not work, I found a work around, and all is good,

    Thanks
    Please post you workaround, so that others can find a possible solution to your problem.

  5. #5
    Sencha Premium Member
    Join Date
    Nov 2007
    Location
    Moore, Oklahoma
    Posts
    469
    Answers
    8
    Vote Rating
    13
    Mthor will become famous soon enough

      0  

    Default


    It seemed to work when I applied the cellpadding to the specific cell, I was using a table, but have now switched everything to divs and control via css,

    thanks

Thread Participants: 2