This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Font

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65113
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use em instead
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic