|
-
Jul 23rd, 2004, 11:49 AM
#1
Thread Starter
Hyperactive Member
CSS and smaller text
We have designed a site and everything seems ok, unless the user has smaller fonts set on their browsers.
We currently have the normal text set as font-size: 0.8em; and when the user has smaller text set (View->Text Size->Smaller) then the text is unreadable. Apart from making all the text bigger, is there a work around this?
ASP, PHP, VB, JavaScript, CSS, HTML, a little C and a little CGI.
Richard Whitehouse.
Join the Footie Predictions League
"Make it idiot proof and someone will make a better idiot."
-
Jul 23rd, 2004, 12:51 PM
#2
Frenzied Member
Don't worry about it? If their text size is that small, it becomes their problem if they can't read it. And honestly, you are probably only singleing out 2% of your viewers.
Also, I don't know if it makes a difference, but I use the "pt" notation instead of "em" and it shows up the same no matter what size the user has the text set to. Maybe that is your solution.
-
Jul 24th, 2004, 03:19 AM
#3
Only on IE (and it's usually considered a bug there by most developers), all other browsers scale all fonts.
But I agree, if the user has small fonts set and the text becomes unreadable, that's their problem.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jul 26th, 2004, 12:38 AM
#4
If you specify the font size using px, then the text cannot be scaled in IE. (Correct me if I'm wrong)
In FireFox though, you can enlarge the text so that it looks like you're being attacked by mutant disgruntled alphabets from another planet.
-
Jul 26th, 2004, 02:42 AM
#5
That's correct. Every browser but IE applies text zoom to all text, while IE doesn't apply it to text specified in px, pt, and I think real-world units like mm (if they're even valid). IE applies it only to em, ex, % and keywords like small.
Opera applies the zoom even to images, which no other browser does.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jul 26th, 2004, 03:12 AM
#6
Thread Starter
Hyperactive Member
I modified the CSS to use the keywords like small, smaller etc and that seemed to do the trick.
Thanks everyone for your help. Its one of those things I never even thought about checking. At least I found out SkySports.com have the same problem so its not just me!
ASP, PHP, VB, JavaScript, CSS, HTML, a little C and a little CGI.
Richard Whitehouse.
Join the Footie Predictions League
"Make it idiot proof and someone will make a better idiot."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|