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

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