Press access key 6 for more information about navigating this site.Skip navigation and move to main content.|
We all know that using pixels for a font-size isn’t the most preferable way.
But what if you have to do a redesign where the original Css is made up of pixels for font-size. Experimenting, guessing?
Sure, you can do that. But there’s a better way:
To go from pixels to em’s, simply divide the pixels by 16.
So, 8px will give you 0.5em.
Another way is to have this conversion table by hand.
|
Links to other parts of the site.
People who have been good enough to me that I would call them friends.
Kid Frost: La Raza
Unless otherwise expressly stated, all original material of whatever nature created by Dzinelabs and included in this site and any related pages, including the weblog's archives, is licensed under The Creative Commons License.
Powered by TextPattern.