PDA

View Full Version : Large Font enabled, detect using Java Script



Jon
01-17-02, 05:07 AM
Is it possible to detect if the person viewing your web page has large fonts enabled?

I've put together a site using cascading style sheets, when the site is viewed with normal/small desktop fonts enabled it looks fine, then when Mr. Magoo who has a 640x480 desktop with large fonts enabled, the text and images are all garbled.

I'd like to be able to detect if large fonts are enabled and then re direct them to a different set of pages designed for them.

Thanks in advance.

Jon

SRF01
01-18-02, 05:55 PM
Hummm not sure exactly.

But you can try this
<div style="font-size:10pt;"><FONT POINT-SIZE="10">Text here</div></font>

DIV tag for IE and Font point-size for NS.

I found it here:
http://library.thinkquest.org/16728/gather/messages/130.html

I'll keep looking but try that to see if it works.