Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



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

Posts: 132
Name: Chase
Trades: 0
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?
__________________

Please login or register to view this content. Registration is FREE
Snot is offline
Reply With Quote
View Public Profile Visit Snot's homepage!
 
 
Register now for full access!
Old 04-23-2008, 12:31 AM Re: Up for a challenge? Multi font sizes for 1 block of text on different fonts.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
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 !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-23-2008, 12:40 AM Re: Up for a challenge? Multi font sizes for 1 block of text on different fonts.
Snot's Avatar
Super Talker

Posts: 132
Name: Chase
Trades: 0
Some one gave me this link. I'm looking it over. Have you ever heard of it?

http://www.mikeindustries.com/blog/sifr/
__________________

Please login or register to view this content. Registration is FREE
Snot is offline
Reply With Quote
View Public Profile Visit Snot's homepage!
 
Old 04-23-2008, 12:44 AM Re: Up for a challenge? Multi font sizes for 1 block of text on different fonts.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
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 !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-23-2008, 12:52 AM Re: Up for a challenge? Multi font sizes for 1 block of text on different fonts.
Snot's Avatar
Super Talker

Posts: 132
Name: Chase
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
Snot is offline
Reply With Quote
View Public Profile Visit Snot's homepage!
 
Old 04-23-2008, 12:21 PM Re: Up for a challenge? Multi font sizes for 1 block of text on different fonts.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You can always try it.. just be forewarned, it may slow down your pages.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-26-2008, 07:27 AM Re: Up for a challenge? Multi font sizes for 1 block of text on different fonts.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.lalit.org/lab/fontdetect.php (view source for the code)
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.28025 seconds with 12 queries