Raf256 said:
I wanted to have a font witch will look identical on most systems
Stop wanting that.
(starting with Win32 browsers and Linux browsers).
Whatever.
Therefore I changed my font from verdana to arial,
Well, it's a move in the right direction. What made you use Verdana in
the first place? It's been discussed _many_ times that Verdana is not
suitable for copy text on Web pages _because_ it has been optimized for
screen use. (And you need to read the discussion to understand this
paradox.)
and I choose default size of text to 14px
Are you designing a browser, which _needs_ to have some default size set
in some sense, or have you got some content to deliver? In the latter
case, you are doing the wrong thing, and you are doing it wrong. The
common browser default of 16px is better than misguided author's attempts
to set the overall font size, _because_ 16px is somewhat too large on the
average. (You see this point if you consider the fact that about 50% of
people have less than average eyesight and the fact that a little too
large font size looks slightly odd whereas a little too small font size
is a nuisance - it reduces browsing experience, often so that the user
does not become aware of the problem, still less find a way to fix it.)
(i realy want to use px to have more
control over page look,
For a scientific document? (You later told: "Page that im making
currently is for scientists.")
and my page has option to easly change font
size/colors - to use for vision-impared persions).
No, that's just what you think. You try to _reduce_ people's
possibilities of controlling the font size in their browsers, and then
you present as excuse some homebrew method for changing font size.
People who _had_ learned to set their browser use the font size they need
would now have to learn _your_ way of doing something similar (let me
guess - it only works when JavaScript is enabled?), for viewing a single
page (or a single site), just to learn some other fancy method on someone
else's page.
But is arial the right choise?
Setting font-family: Arial is mostly harmless, but
font-family: Geneva, Arial, Helvetica, sans-serif;
is sometimes mentioned as a safer way, since on Macs, the Arial font is
poor and Geneva is better (they say - I have no prima facie evidence).
font-size: 14px; font-family: arial,courier,sans-serif,times;
Are you serious? What could possibly be the point of mentioning Courier
for copy text, or mentioning anything after sans-serif? (Courier is
monospace and usually implemented as a bitmapped font, so it's a
remarkably poor choise.)