On Thu, 16 Oct 2003 15:56:54 GMT,
Geoff Cox <ge*******@blueyonder.co.uk> wrote:
If I wish to allow the user to select which font size to print in, I
will need to provide a duplicate html page in the different font size?
No. (A nice simple answer.)
As you'll have read, there's plenty of good reasons not to mess with
font sizes (which I've always agreed with). If you were to provide
users with *some* way to use your site at different sizes, then users
will have to fiddle with their browsers. They might just as well
properly configure their browsers so that all pages work fine for them;
rather than providing strange mechanisms, and having to explain it. You
may be better to find a reference to some good "how to use your browser"
sites, and link to them in a "help" section on your site.
Having said that, if you are determined to let users use your site in
different styles, browser support for that is limited (the most
prevalent browser, MSIE, doesn't support it), but you'd do it by using
more than one link to different stylesheets in the document head; that's
one HTML document, with one default stylesheet, and various
alternatives, either as a personal choice, or automatic alternatives
depending on the media that they're designed for (screen, print, etc.).
| <html>
|
| <head>
| <title>A test page</title>
| <link rel="stylesheet" type="text/css" href="usual.css" title="Site's usual look">
| <link rel="alternate stylesheet" type="text/css" href="different.css" title="A different look">
| <link rel="stylesheet" type="text/css" media="print" href="for_paper.css" title="For printing">
| </head>
|
| <body>
| <h1>A test page</h1>
| <p>This page can be viewed in different styles, if your browser gives you some way to choose between them.</p>
| </body>
| </html>
If you read the CSS and HTML specifications (the introductions, at the
very least; and I suggest that you read the "style" page in the HTML
specifications), you'd save us all a lot of explaining.
Producing large font sites for people with eyesight problems is just
further isolating them from the rest of the web. If they don't learn
how to configure their system for most sites, or get help to do so, then
they're only going to be able to use specially prepared sites.
If you're going to go out of your way to support users, it's better to
just produce well authored sites, using HTML properly, and not doing
anything proprietary; this produces sites that work well for everyone.
--
My "from" address is totally fake. (Hint: If I wanted e-mails from
complete strangers, I'd have put a real one, there.) Reply to usenet
postings in the same place as you read the message you're replying to.