[Prev][Next][Index][Thread]

Re: LINK'ed style sheets -Reply




> I was wondering about that, and cookies and the like. Let's say a site has
> defined three stylesheets -- "default", "hi-tech", and "easy-read" -- and
> you want to specify somehow that whenever you visit that site, "hi-tech"
> will always be chosen (assuming a valid link, of course). Should that be a
> browser issue, or handled by cookie communication, or some other method?

One way to handle this is via a short script embedded in a SCRIPT element.
The script would know which style sheet to use based upon access to user
preferences for the browser. This trades the need to standardize LINK
titles or classes for the API needed to access user preferences.

-- Dave Raggett <dsr@w3.org> tel: +1 (617) 258 5741 fax: +1 (617) 258 5999
   World Wide Web Consortium, 545 Technology Square, Cambridge, MA 02139
   url = http://www.w3.org/People/Raggett


References: