Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Nov 2007
    Posts
    399
    Vote Rating
    11
    Answers
    5
    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 Premium Member bricemason's Avatar
    Join Date
    Jan 2008
    Location
    Upstate NY
    Posts
    199
    Vote Rating
    25
    Answers
    18
    bricemason will become famous soon enough bricemason will become famous soon enough

      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
    Posts
    399
    Vote Rating
    11
    Answers
    5
    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
    245
    Vote Rating
    4
    Answers
    3
    Kurt001 is on a distinguished road

      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
    Posts
    399
    Vote Rating
    11
    Answers
    5
    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