This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
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: 60765
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by 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: 15376
    
    6
use em instead
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Font
 
Similar Threads
I can't change the fonts in BlueJ codepad
update font of labels , menus and buttons
Internationalization-Font & Browser Support
Java 1.4.0 and TT fonts
how to change fonts