|
Be aware that your webpages will look different on different people's computer
(or Web TV) screens.
You might have an amusing
'Haunted House' font on your computer, but there is no point specifying 'Haunted
House' as the font you want text to appear in on your webpage, because most people
won't have that font installed.
You have to give a list
of fonts, in order to cover as many bases as possible. For example the tags around
the text you're reading at the moment say:
<font face="Arial,
Helvetica, sans-serif">
which has the result that PC users see it in Arial (almost all PCs have Arial
installed), whilst Apple users who don't have Arial see it in the similar, and
similarly ubiquitous, Helvetica. And for in case the visitor doesn't have Arial
or Helvetica, we also list 'sans-serif' in the hope of getting something
similar.
For this kind of font:
<font face="Times New Roman, Times, serif">
For this kind of font:
<font face="Courier New, Courier, mono">
The fact that your webpages
will look different on other people's screens has further implications. The text
won't be laid out on screen in exactly the same way -- so if you used manual line
breaks (<br>) to arrange the text nicely on your own screen, it could look
really jumbled on someone else's.
The least you can do is
view your pages on different browsers with different screen resolutions or window
sizes and see if anything awful happens.
What
about Cascading Style Sheets?
You may have heard of 'Cascading
Style Sheets' (CSS), which are meant to be a super thing for web designers. They
allow you to establish a global 'style sheet' which all your web pages then refer
to. The style sheet tells the pages how you want to present the main titles, the
subtitles, the main text, and so on.
Alas, Netscape and Microsoft
implemented this idea in different ways, which means that your CSS won't work
quite right for Netscape viewers if you do it the Microsoft way, and vice versa.
Plus there will be some other people with older browsers for whom it won't work
at all. You can make different versions of your site for different browsers, but
if you have that much time on your hands you should donate it to charity or something.
I think you might as well
specify how you want text to look just by applying it directly to the text. The
only really 'different' thing CSS can do is to let you have links that aren't
underlined. But the underline is a useful device to indicate a link. Hey, I even
put underlines on text-within-graphics to show when it's a link.
One day nearly everybody
will be using browsers that interpret Cascading Style Sheets the same way, and
then they will be worth using, but until then I reckon it's cooler not to worry
about them.
|