Up for a challenge? Multi font sizes for 1 block of text on different fonts.
I think I have a tough one.
In dreamweaver I have the option to pick more than one font so that I make sure any user that views my page will use one of the fonts. I guess the browsers check to see if the user has the first font in my list and if they don't it checks to see if they have the 2nd in my list and so on.
I can't get this to work my dreamweaver. I am trying to make the same block of text have different sizes depending on if the user has the first text or not.
Like for example
My pc has Text1 and Text2 but not very many people have Text1 but everyone has Text2
At 100% Text1 is this size
Text1Text1Text1Text1Text1Text1Text1
and at 100% Text2 is this size
Text2Text2Text2Text2Text2Text2Text2
So what I am trying to do is set Text1 to 170% so that everyone one who has Text1 on there pc can see it at a large enough size but in doing this it also sets Text2 to 170% which makes it way way to large. It's the same paragraph. The only reason anyone would ever see Text2 is if they don't have text one.
I can only test this in dreamweaver without uninstalling and reinstalling fonts. If you look at my site and the text is normal size and matches my images you are looking at chiller. If you look at my site and the text is HUGE and doesnt match anything then you don't have chiller. I would like to make that really huge text smaller and look better on my page for you
Do you guys have any ideas on how this could be done?
I do have Chiller, and can see what you mean. Chiller's body size is much smaller due to its large ascenders and descenders. As far as I know, there is no way of detecting the font being used by the browser, and certainly no way of associating different sizes with each alternate font in css. I do have other fonts on my system that look around a similar size to Chiller, but they are not widespread either. About the only thing I could suggest is making the second choice "Comic Sans MS" - it is still larger but looks a little more in keeping with the overall style.
I have heard of sIFR, and have seen it used on some sites. Was going to suggest that as an alternative, but didn't have a link for it. As long as the user has flash installed and javascript enabled it might work ok, but could slow down the page load considerably. Using this method, the flash would be used even if the user has the correct font on their system.
Bookmarks