Complex font combination

Complex font combination

by N Hansen -
Number of replies: 2
I want to implement a rather complex set of cascading fonts in my standard style but I'm not quite sure how to code it or even if it is possible to code what I want to do. So I'm hoping some of you CSS experts can help me out on this.

What I need to do is to set my font so that the first font it looks for on the computer is Trebuchet MS, and if it finds it, it is to render it at 12pt. If it doesn't fnd that font, then it is to look for Tahoma and render it at 11 pt. The remainder of the fonts on the list would be 12 pt. The reason I want to do this is because I am mixing characters in the same word that will be drawn from different fonts because they don't all occur in the first two fonts on the list (don't try and talk me out of doing this, this sequence produces the best visual appearance for what I am trying to do). Is this possible to code in CSS, or do I have no other choice but to specify my font sizes in pixels to get them to be the same height?
Average of ratings: -
In reply to N Hansen

Re: Complex font combination

by N Hansen -
I think I have figured out a way to do what I want to do.