|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Accessibility and Usability Forum Discuss topics related to website accessibility and usability. Subjects include; testing techniques, tutorials, guidelines and legal issues. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I made a web site for some friends, and we wanted to use a font called Vixar. So I used Vixar as the main font, and courier new as the first generic alternative. However, Vixar has smaller character sizes than courier by default, so to get a readable font size I had to use a size of 20px - which of course looks bad when viewed in Firefox or Opera, as they don't support the @font-family CSS rule which loads an Open Type version of Vixar. So, my question is this: Is it possible to, via CSS, apply one font/font-size to some text if the font is supported and another font/font-size to the same text if it is not? Thanks...
__________________
Regards, Joachim Dyndale |
|
||||
|
Quote:
You better use em, or even better %. And by the way, I wish a very happy and successful New Year. --- * correction
__________________
"Being an expert isn't telling other people what you know. It's understanding what questions to ask, and flexibly applying your knowledge to the specific situation at hand. Being an expert means providing sensible, highly contextual direction." Jeff Atwood SEO Workers - Search Engine Optimization Consulting Company | SEO Analysis Tool | Webnauts Net SEO |
|
|||
|
Actually, IE, Firefox and Opera display the text in different sizes when using a relative size unit and the design on the site in question it's impossible to get a size that cosistantly looks good across browsers.
Too bad Firefox and Opera don't support the @font-family CSS rule. It's a VERY useful rule....
__________________
Regards, Joachim Dyndale |
|
|||
|
there you go jp06:
http://www.htmlhelp.com/reference/cs...font-size.html |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |