Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TITLE attribute in styles?

0 views
Skip to first unread message

Maury Markowitz

unread,
Sep 14, 2000, 3:00:00 AM9/14/00
to
Although you don't see it much, I've seen a few examples where the title
of a LINK ot a css sheet has been set. For instance...

<LINK rel="STYLESHEET" href="sitestyle.css" title="Default">

What effect does setting the style have, if any?

Maury

Steve Fulton

unread,
Sep 14, 2000, 3:00:00 AM9/14/00
to
A browser that allows the user to select an alternate style uses the title
attribute for the user interface.

If you have Mozilla/M17, there's a "Use Stylesheet" submenu on the "View"
menu. If a page had these links:

<link rel="stylesheet"href="main.css" title="Default">
<link rel="alternate stylesheet" href="alt.css" title="Alternate">

the submenu would have entries "None", "Default" and "Alternate".

AFIK, Mozilla is the only browser that allows the user to pick stylesheets
through a menu. IE4+ allows the author to choose between stylesheets by
scripting the document.styleSheets collection. Of course, you can create
your own interface using a select drop-down or radio buttons to give the
user control.

Mozilla/M17 currently uses only one alternate stylesheet. M16 allowed more
than one, but it didn't have the menu interface; you had to script the
choice like IE. Perhaps the final release of NS6 will use more than one
alternate.

=-=-=
Steve
-=-=-

"Maury Markowitz" <maury_m...@hotmail.com> wrote in message
news:ekM1MTl...@cppssbbsa02.microsoft.com...

Maury Markowitz

unread,
Sep 15, 2000, 3:00:00 AM9/15/00
to
"Steve Fulton" <cerbe...@hotmail.com> wrote in message
news:u4KVakn...@cppssbbsa02.microsoft.com...

> A browser that allows the user to select an alternate style uses the title
> attribute for the user interface.

Hey, that's neato. I don't have occasion to use it now, but I'll remember
this for future reference.

Maury

0 new messages