CSS question
- Started
- Last post
- 3 Responses
- mevsthem
Im supporting 3 fonts Segoe UI and Arial and Verdana for a website. Can I be able to specify different sizes for each font? If a user has Segoe UI i want it to be viewed at size 10px if they don't have that font or arial, I want them to be able to view the site in Verdana in 8 px. Is this possiable with CSS?
- ifThenGo0
don't think so. You can set up alternate styles, but you would have to work out how to tell the browser when to use the different font versions. Can javascript detect what fonts are loaded?
- dcdomain0
I don't think that's possible with CSS. At most you can set them in the order which you want them to show up in using the font-family: font1, font2, font3; but that's about it. It would be nice if we could have done font-family: font1 size1, font2 size2, font3 size3;
- mevsthem0
Doh! Thank you both for your reply. Yes it would be nice dcdomain, mabe in the future it will happen.