[Javascript] forcing browser text size and/or text zoom sett

BEKIM BACAJ Trojani2000 at hotmail.com
Wed Apr 18 06:49:51 CDT 2001





----- Original Message -----
From: Peter-Paul Koch
Sent: Wednesday, April 18, 2001 10:50 AM
To: javascript at LaTech.edu
Subject: Re: [Javascript] forcing browser text size and/or text zoom sett



>I guess you haven't heard about the CSS command "!Important"
>read about it, it's done to prevent user setings from overriding you're
>style.

But it works unreliably. Besides it only overrides user defined style
sheets, not general browser functions such as text size. So in this
particular case it doesn't help.
Are YOU sure?
If you are that dumm, using font-size commands, why is that you complain about display relativity than?
If you are not. It is absolutely IMPOSIBLE to resize Authors textsize with Wiew:Text Size: Largest/Larger/Medium/Smaller/Smallest
Use <H1 style="font:Bold italic 22pt arial">TROJANI2000</H1>
and try to resize it!

>It's also very nice to give size of every font and text with --pt, and not
>with px,
>That way at browser default setings, user can not resize you're font, it is
>not afected with size command. And you will not have to worry about the
>browsername.
>Points are interpreted the same way and size in every browser, only pixel
>wary from the screen resolution.

WRONG again!
Try testing a little more, rather than just reading things.

Exactly the other way around. Giving a site a font size in points will make
the text OK in one browser (IE on Win) and unreadable in another (NN on
Mac).

See http://www.alistapart.com/stories/fear4/ for more info.

>State that the CSS u're using is CSS1 it may trick the users CSS2
>Because in CSS2 the user can override the author settings with the same
>command for instance:
>P { font-size: 18pt ! important }
>
>while in CSS1 they can't.
>Either way, these users are rare, or non-existant for now.

??? First of all, you cannot declare what CSS you use, you just give
commands and hope the browsers understand it. If you give CSS2 commands and
the browser doesn't understand them, nothing happens.

wrong again!
Use:
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css1">

and try using css2 commands.
same with <script language=VBScript>
try using Java Script inside
</script>

You don't need  help
you need to show off. Well, F-off
and no-thanks!


Secondly, really CSS2 supporting browsers are still very rare. The only ones
to qualify are Netscape 6, Opera 5 and Konqueror (and IE5 Mac, up to a
point). IE5 Win does not support enough CSS2 to make it a really compatible
browser.

See http://www.xs4all.nl/~ppk/css2tests/ for the tests and the outcome.

ppk

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript<br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010418/81d36e7f/attachment.htm>


More information about the Javascript mailing list