I like the idea of using the relative sizes in my stylesheet but the practical effect was that when I redefined the html styles eg li p etc
using this method. I got rapidly reducing text sizes. This led me use point sizes. Have I missed something?
Caroline Thorpe
Information Adviser (Networked Information Services)
Learning Centre
Sheffield Hallam University, Howard Street
Sheffield S1 1WB
0114 225 2128
[log in to unmask]
-----Original Message-----
From: Paul Milne [mailto:[log in to unmask]]
Sent: 23 March 2001 12:02
To: [log in to unmask]
Subject: Re: Font Sizes
As Kriss noted, using stylesheets to set your font sizes is the
preferred method now. You can either set your fonts using absolute
size (small, medium, large, 14pt, etc.), relative (larger, smaller),
length (1.5em, eg.), or percentage (150%, eg.). Check your CSS
specification for a full list of values.
The numerical values with the <font> tag can also be grouped into
absolute and relative. Numbers without a + or - are absolute, using
the user agent's own table of fonts. You can also use the basefont
tag to set a size for the entire document or for a division. The
default size is 3. Numbers using a + or - are then obviously sized
relative to the font size for the document/division, whether that's
default or set by the html author.
Use of <font> and <basefont> has been deprecated, but is still
supported by most browsers.
HTH
P.
At 10:24 am +0000 23/3/01, Cox, Will wrote:
>I've just discovered (tidying up somebody's HTML) that half of our
>web team give font sizes as -1, -2 etc and the other half as 1, 2
>etc.
>Visually on the major browsers there's no difference between the two
>methods (not that we can see anyway).
>
>Are there any pros/cons to each method? And (without starting a
>major argument) which one is best?
>
>Will
>
>--------------------------------------------------------------------------------
>Will DG Cox - New Media Marketing Officer
>Marketing and Development, Sheffield Hallam University
>Tel 0114 225 3893 Fax 0114 225 2094 E-mail [log in to unmask]
--
*************************************************************
Paul Milne
EDINA Documentation Officer Tel: +44 (0)131 650 4626
Ext. 504626 Fax: +44 (0)131 650 3308
EDINA <http://edina.ed.ac.uk/> email: [log in to unmask]
University of Edinburgh
"An optimist sees a glass that's half full. A pessimist sees a glass
that's half empty.
An engineer sees a glass that's twice as big as it needs to be."
|