1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    127
    Answers
    4
    Vote Rating
    0
    robl is on a distinguished road

      0  

    Question Unanswered: sencha touch css overrides

    Unanswered: sencha touch css overrides


    Why does Sencha Touch override default CSS settings for HTML elements instead of using "classes"?
    ie.

    Sencha Touch 2.x defines this:

    Code:
    td{margin:0;padding:0}
    table{border-collapse:collapse;border-spacing:0}
    Seems like this would affect all HTML including non-Sencha Touch code. Wouldn't it be better to define a class for all Sencha "td" elements instead?

    I ask because it is interfering with my HTML (some I control and some that I do not!)

  2. #2
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Answers
    93
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    There is no real reason, it just isn't implemented. We could go about doing that (we do it with Ext JS), but it isn't an issue with most Touch applications.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    127
    Answers
    4
    Vote Rating
    0
    robl is on a distinguished road

      0  

    Default


    Robert,

    Please please please change it so that it doesn't interfere with our HTML or HTML that we get from 3rd parties.

    Thanks!!!!

Thread Participants: 1