Anahita Shafa wrote: > Hello CSS-D, > > My name is Anahita and I am new to css-d. I have been using css for the past > 6-7 months only and have fallen in love with it. > > I have a question, which hopefully is not too simple of a question for > someone to answer me? > > When designing web pages, which units is the best choice to be used for > fonts: pixels, points or ems? I read somewhere that ems are the best choice. > > I wanted to find out what the css-d experts things and sorry if this question > is very simple and perhaps seem obvious to most of you. I am still a newbie > in the world of web design (since one year only). > > Thank you all in advance for your help. > > Anahita > > We usually recommend you set the font size to 100% or 100.1% on the body element and use percentages or ems from there. The reason for this is to ensure cross-browser compatibility and allow the user to resize the font size to their preference. If you use pixels, you won't be able to scale the font in IE.
Have a look at the wiki for some good info on this. Scroll down to the Sizing Text section. http://css-discuss.incutio.com/ Lori ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
