Results 1 to 3 of 3

Thread: sencha touch css overrides

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    127
    Answers
    4
    Vote Rating
    0
      0  

    Question 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,159
    Answers
    93
    Vote Rating
    7
      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
      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!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •