Reply
Up for a challenge? Multi font sizes for 1 block of text on different fonts.
Old 04-22-2008, 10:47 PM Up for a challenge? Multi font sizes for 1 block of text on different fonts.
Snot's Avatar
Skilled Talker

Posts: 85
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?
Snot is offline
Reply With Quote
View Public Profile Visit Snot's homepage!
 
When You Register, These Ads Go Away!
Old 04-22-2008, 11:31 PM Re: Up for a challenge? Multi font sizes for 1 block of text on different fonts.
LadynRed's Avatar
Super Moderator

Posts: 6,570
Location: Tennessee
There's no way to do what you want with CSS. I don't even think there's a way to do it with Javascript.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-22-2008, 11:40 PM Re: Up for a challenge? Multi font sizes for 1 block of text on different fonts.
Snot's Avatar
Skilled Talker

Posts: 85
Some one gave me this link. I'm looking it over. Have you ever heard of it?

http://www.mikeindustries.com/blog/sifr/
Snot is offline
Reply With Quote
View Public Profile Visit Snot's homepage!
 
Old 04-22-2008, 11:44 PM Re: Up for a challenge? Multi font sizes for 1 block of text on different fonts.
LadynRed's Avatar
Super Moderator

Posts: 6,570
Location: Tennessee
Ok, yes, SIFR is good, I've used it - but it's really not meant to replace ALL the text on your page. SIFR is ideally suited for Headings and small bits of text.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-22-2008, 11:52 PM Re: Up for a challenge? Multi font sizes for 1 block of text on different fonts.
Snot's Avatar
Skilled Talker

Posts: 85
My pages don't really have that much text on them. They largest part is only a few paragraphs.

Do you think I should try it? I really haven't got anything else to try.
Snot is offline
Reply With Quote
View Public Profile Visit Snot's homepage!
 
Old 04-23-2008, 11:21 AM Re: Up for a challenge? Multi font sizes for 1 block of text on different fonts.
LadynRed's Avatar
Super Moderator

Posts: 6,570
Location: Tennessee
You can always try it.. just be forewarned, it may slow down your pages.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-26-2008, 06:27 AM Re: Up for a challenge? Multi font sizes for 1 block of text on different fonts.
chrishirst's Avatar
Super Moderator

Latest Blog Post:
Javascript alert
Posts: 13,688
Location: Blackpool. UK
http://www.lalit.org/lab/fontdetect.php (view source for the code)
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Up for a challenge? Multi font sizes for 1 block of text on different fonts.
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14420 seconds with 12 queries