jesh Posted October 11, 2006 Share Posted October 11, 2006 What's the best way to declare font-sizes? Should I use the relative "xx-small", "small" sizes? Should I specify them in pixels? ems?I want the text to be the same size in all browsers (when browsers are set to default text size) while still allowing visitors to increase the text size (e.g. CTRL + + and CTRL + - in firefox allows you to change the font size).I seem to remember that "small", "medium", etc. were introduced to allow people to change the font-sizes in their browsers, but I also seem to remember that different browsers treated these sizes differently.Any ideas? Link to comment Share on other sites More sharing options...
kaitco Posted October 12, 2006 Share Posted October 12, 2006 Different users will having various settings depending on the browsers they use. It is always best to use relative measurements, in regards to font size, page widths, etc., that way your content will appear the way you want it to, but in relation to your visitors settings. Link to comment Share on other sites More sharing options...
scott100 Posted October 12, 2006 Share Posted October 12, 2006 What's the best way to declare font-sizes? Should I use the relative "xx-small", "small" sizes? Should I specify them in pixels? ems?I always use pxhttp://www.basictips.com/which-font-size-px-pt-em.shtml Link to comment Share on other sites More sharing options...
Err Posted October 12, 2006 Share Posted October 12, 2006 I always use pxhttp://www.basictips.com/which-font-size-px-pt-em.shtml I thought Internet Explorer couldn't make font sizes with "px" sizes any bigger or smaller. So is it a good idea to use pixels instead of something else like "em" where it is adjustable in IE? Link to comment Share on other sites More sharing options...
jesh Posted October 13, 2006 Author Share Posted October 13, 2006 Thanks for all the input, everyone. I thought Internet Explorer couldn't make font sizes with "px" sizes any bigger or smaller. So is it a good idea to use pixels instead of something else like "em" where it is adjustable in IE? Yeah, I think you're right. I've mostly always used px sizes, but I was working on a theme editor for our site and one of the guys here suggested changing the sizes to "x-small", "small", etc. It seems to be working well, but I haven't tried it on the mac yet, nor in Opera. I've got my fingers crossed! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now