This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Font Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Font" Watch "Font" New topic
Author

Font

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
The application that I am developing may be run by the disabled. They need to view larger fonts.

I am having this problem - when IE fonts change, the fonts in my application do not change accordingly. How do I modify the code in my stylesheet to fix the problem? Thanks a lot in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56191
    
  13

Originally posted by JiaPei Jen:
How do I modify the code in my stylesheet to fix the problem?


Hard to say without seeing what the code is. Generally, don't use absolute font sizes.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
Yeah. The disabled users may change the font size in their IE browser to view the application.

I can see that I am using some absolute font-size in my stylesheet (part of my stylesheet is show below). What modification should I do so that the application font size changes in accordance with that in the IE browser?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
use em instead
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Font
 
Similar Threads
Internationalization-Font & Browser Support
I can't change the fonts in BlueJ codepad
Java 1.4.0 and TT fonts
update font of labels , menus and buttons
how to change fonts