Finding text setting for browser

  • Thread starter Thread starter Parrot
  • Start date Start date
P

Parrot

Is there a way to detect the text sizing on a browser in a web based program
when processing a request? I need to be able to know the text size so that I
can adjust the size of my image map to fit the size of the text before
displaying my web page.
 
Thanks for your reply. I suspected the answer would be no but I wanted to
make sure. I have a legitimate reason for wanting to alter the text to
correspond to the coordinates of an image map background. I am developing a
web site for a cemetery and was attempting to superimpose the grave locations
on a background image of the cemetery aerial photo. It works fine if the
browser text size is set to normal. However, if someone's browser text size
is set to large, the text spreads beyond the boundaries of the background
image of the cemetery aerial image and does not match at all. So there is
the application intent. If anyone has a way to circumvent this problem, I
would appreciate hearing the solution. Can you tell me which post I should be
using for this type of question?
 
Hello Parrot,
Thanks for your reply. I suspected the answer would be no but I
wanted to make sure. I have a legitimate reason for wanting to alter
the text to correspond to the coordinates of an image map background.
I am developing a web site for a cemetery and was attempting to
superimpose the grave locations on a background image of the cemetery
aerial photo. It works fine if the browser text size is set to
normal. However, if someone's browser text size is set to large, the
text spreads beyond the boundaries of the background image of the
cemetery aerial image and does not match at all. So there is the
application intent. If anyone has a way to circumvent this problem, I
would appreciate hearing the solution. Can you tell me which post I
should be using for this type of question?

Some browsers don't scale font sizes set in px. While they do scale em and
ex and pt. That might be your salvation ;).

Jesse
 
Back
Top