Text size different in different browsers

M

Michelle

Please help!
Don't understand why this happen? Text size were different when i am
accessing my website in different browsers like IE, Netscape and Firefox.

My website is \\www.sii.com.sg\dev

TIA
 
P

Peter R. Fletcher

That is normal. Text sizes specified in HTML are intended more as
hints to the browser as to what should be bigger or smaller than what,
(and in approximately what proportions) than as absolute size
specifications. All Browsers have lookup tables, accessible to the
user, which, in effect, convert HTML text size into displayed text
size, either by setting dpi values or by other approaches.

Please help!
Don't understand why this happen? Text size were different when i am
accessing my website in different browsers like IE, Netscape and Firefox.

My website is \\www.sii.com.sg\dev

TIA

Please respond to the Newsgroup, so that others may benefit from the exchange.
Peter R. Fletcher
 
M

Michelle

Thanks for your reply.
However there is another question. How does other website like Microsoft
managed to maintain the text size in different browsers?
 
R

Ronx

You do not appear to have specified a font size for most of the HTML
tags (such as <p>, <body>, <td> etc.), which leaves each browser to
choose its own default size.
Those font sizes you have specified are in points - a printers
measurement. This again leaves things wide open for the browsers (how
many pixels are there in 1/72 inch? [1pt=1/72inch])
 
F

fido

Thanks for your reply.
However there is another question. How does other website like Microsoft
managed to maintain the text size in different browsers?

Remove all possible causes of doubt in the browser's mind by
specifying font sizes in the CSS in pixels rather than points.
Experiment with different font sizes to arrive at the size you want.
For me, the smaller size displayed by IE is more satisfactory to that
chosen by Firefox, but some users do prefer larger text.

On a side note, possibly the image on the Contact page is rather heavy
at 87KB for a picture only 300 x 287px.

fido
 
P

Peter R. Fletcher

Remove all possible causes of doubt in the browser's mind by
specifying font sizes in the CSS in pixels rather than points.
Experiment with different font sizes to arrive at the size you want.
For me, the smaller size displayed by IE is more satisfactory to that
chosen by Firefox, but some users do prefer larger text.

<SNIP>....</SNIP>
fido

Even this doesn't totally solve the problem, since a pixel size which
is good for someone running an old monitor in 800 X 600 mode may
appear painfully minute to someone using a very high resolution
monitor. There is no perfect answer. I use point sizes, since it
allows the user to specify what 10 point means to him/her.

Please respond to the Newsgroup, so that others may benefit from the exchange.
Peter R. Fletcher
 
M

Murray

Points are rendered differently from one browser to another, and one
platform to another, so by choosing points, you have guaranteed the maximum
variation in text sizes for your visitions across the board.

Pixels, ems, ens, exs, percents, font-size names, or relative sizes, are
definitely the preferred units on the web.
Even this doesn't totally solve the problem, since a pixel size which
is good for someone running an old monitor in 800 X 600 mode may
appear painfully minute to someone using a very high resolution
monitor.

This is true - that's why browsers have the ability to resize text.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top