View Full Version : Why not accept em for margin?

24 Nov 2011, 9:10 PM
It seems the margin parameter for panels is px only. If it's accepted as a CSS string then why not accept em?

24 Nov 2011, 11:14 PM
can't be pixel-perfect with ems!

25 Nov 2011, 1:14 AM
Pixel arenīt perfect! ;) Sencha uses emīs in its own css files. Think of pixel density:

iPhone 3GS: 163 ppi
iPhone 4: 326 ppi

greetings Sunny