Results 1 to 3 of 3

Thread: Why not accept em for margin?

  1. #1
    Sencha User cyberwombat's Avatar
    Join Date
    Oct 2011
    Posts
    237
    Vote Rating
    4
      0  

    Default Why not accept em for margin?

    It seems the margin parameter for panels is px only. If it's accepted as a CSS string then why not accept em?

  2. #2
    Sencha User
    Join Date
    Oct 2011
    Location
    Vancouver, Canada
    Posts
    157
    Vote Rating
    14
      0  

    Default

    can't be pixel-perfect with ems!

  3. #3
    Sencha User SunboX's Avatar
    Join Date
    Mar 2010
    Posts
    238
    Vote Rating
    28
      0  

    Exclamation

    Pixel arent perfect! Sencha uses ems in its own css files. Think of pixel density:

    iPhone 3GS: 163 ppi
    iPhone 4: 326 ppi

    greetings Sunny

Posting Permissions

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