"Mel" <me**********@hp.com> wrote:
i want my font to look the same size irrespective of screen size, resolution
etc.
Same size relative to what?
Same physical size? (i.e. always 6mm tall regardless) - use CSS
phsical length units (in, cm, mm, pt, pc) but don't expect browsers to
actually make them the correct physical length. Normally they'll apply
some simplistic length to screen pixels conversion that doesn't take
resolution into account. Also Win IE doesn't allow users to resize
text sized in pt (and possibly the other physical units as well) so
this is a usability and accesibilty problem.
Same subjective size for the user? (i.e. the same visual angle) - in
theory CSS px units should be adjusted so that 1px subtends roughly
the same degree. In practice browsers treat 1px as 1 screen pixel
(which gives the correct angle for "typical" desktop displays. But px
are also unresizable in Win IE so same problem
Same size when compared to an image on the web page? Again px, with
the same problem.
Same size compared with the screen or browser window? (i.e. always
fits ten lines of text on the screen regardless of resolution, etc.) -
not possible with CSS. Could be done with some JavaScript. But if a
user has chosen a larger screen or a higher resolution they could well
have done so in order to see more content at once.
is that possible ?
Probably not. Even if it was would it be a good idea? Would you want
the text to be the same size when viewed from less than an arm's
length away on a laptop or palmtop and when viewed from across a room
on a wall mounted display?
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>