W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 1998

Re: easier way to associate an existing style sheet to document?

From: <Daniel.Veillard@w3.org>
Date: Tue, 19 May 1998 09:21:07 -0400 (EDT)
Message-ID: <19980519092101.A19229@w3.org>
To: Bertrand.Ibrahim@cui.unige.ch, www-amaya@w3.org
Quoting Bertrand.Ibrahim@cui.unige.ch (Bertrand.Ibrahim@cui.unige.ch):
> Hi,
> 
> currently, to link a style sheet to a document, one has to:
> 
> 1) open the structure view of the document
> 2) select the "Structure/Link" menu command
> 3) select the "Attributes/rel" menu command
> 4) type "stylesheet" in the pop-up dialog box and click on "Apply"
> 5) select the Attributes/type" menu command
> 6) type "text/css" in the pop-up dialog box and click on "Apply"
> 7) select the "Attributes/href" menu command
> 8) type the URL of the style sheet in the pop-up dialog box and click
>    on "Apply" (no file browsing facility :-(
> 
> Is there an easier way to achieve this? If not, may I suggest that a
> "Style/Link" command, in the formatted_view window could activate a
> file browser to select a stylesheet file and add a 
> <link rel="stylesheet" type="text/css" href=...> to the head section of 
> the document? It would be so much more user-friendly.

  Using the old CSS dialogs:
    - click on the CSS icon
    - In the form, click on the [new] button
    - type-in the new URL and [add]
it should fetch the CSS, apply it and add the specific link in the
header.
 This is old code and I'm not sure if it still work however ... I just
tried without problem but YMMV.

Daniel

-- 
Daniel.Veillard@w3.org | W3C  MIT/LCS  NE43-344  | Today's Bookmarks :
Tel : +1 617 253 5884  | 545 Technology Square   | Linux, WWW, rpm2html,
Fax : +1 617 258 5999  | Cambridge, MA 02139 USA | badminton, Kaffe,
http://www.w3.org/People/W3Cpeople.html#Veillard | HTTP-NG and Amaya.
Received on Tuesday, 19 May 1998 09:43:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:25 UTC