![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hiya, Thanks for all the useful info I have discovered here .... you folks rock !! I'm "almost" finished my first and basic foray into CSS ... still got a looong way to go in the learning curve ... but ... I keep seeing comments and opinions on not using pixel size for fonts, but to use % or em to allow font resizing ... My main question is there a formula or ready reference type list around to let me figure out how to convert pix size to em or % TIA K |
#3
| |||
| |||
|
|
Hey K: Take a look at these - which may help: http://css-discuss.incutio.com/?page=FontSize http://www.bigbaer.com/css_tutorials/css_font_size.htm http://www.htmlhelp.com/reference/css/font/font-size.html |
#4
| |||
| |||
|
kewl ... thanks NadiaNadia *TMM* wrote: Hey K: Take a look at these - which may help: http://css-discuss.incutio.com/?page=FontSize http://www.bigbaer.com/css_tutorials/css_font_size.htm http://www.htmlhelp.com/reference/css/font/font-size.html |
#5
| |||
| |||
|
|
You're welcome ! |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Hi Just a word of warning on using ems, it you are going to use that unit don't use it as your default unit on the body or you will trigger some text sizing bugs in earlier versions of IE (5x) where the font size scales oddly and becomes very tiny. IMHO I would use %, set the default size on the body to 100.01% and then scale off that. for instance: p { font-size: 80%; } h1 { font-size: 135%; } etc -- Cheers jojo Team Macromedia Member Volunteer for Dreamweaver MX http://www.webade.co.uk ---------------------------------------------------- Extending Knowledge, Daily. http://www.communityMX.com/ Free 10 day trial http://www.communitymx.com/joincmx.cfm ---------------------------------------------------- |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
so 100.01% seems a good solution. |
#10
| |||
| |||
|
|
jojo wrote: so 100.01% seems a good solution. As in works reliably cross browser and cross platform. -- Cheers jojo Team Macromedia Member Volunteer for Dreamweaver MX http://www.webade.co.uk ---------------------------------------------------- Extending Knowledge, Daily. http://www.communityMX.com/ Free 10 day trial http://www.communitymx.com/joincmx.cfm ---------------------------------------------------- |
![]() |
| Thread Tools | |
| Display Modes | |
| |