[opencms-dev] Why WYSIWYG editor does not see the stylesheet information

Jens Rickhoff jens at visualteam.de
Fri Jul 18 10:23:28 CEST 2003


Why WYSIWYG editor does not see the stylesheet informationHi Nguyen,

try
<stylesheet>/system/modules/org.mymodule.default/resources/style.css</styles
heet>
without the leading backslash the editor doesn't find the CSS.

Greetings,
Jens
----- Original Message -----
From: Nguyen La Yen Dung
To: opencms-dev at opencms.org
Sent: Friday, July 18, 2003 10:03 AM
Subject: [opencms-dev] Why WYSIWYG editor does not see the stylesheet
information




 Hi,
 I put style.css file under system/modules/org.mymodule.default/resources
directory.
 But I don't know why the stylesheet information is not effective in the
WYSIWYG editor (it works in the HTML-page).
 Here is my frame template which includes stylesheet information:
<XMLTEMPLATE>
<stylesheet>system/modules/org.mymodule.default/resources/style.css</stylesh
eet>
<TEMPLATE><![CDATA[
<HTML>
<HEAD>
        <TITLE>HELLO</TITLE>
        <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
        <LINK rel="stylesheet"
href="]]><link>/system/modules/org.mymodule.default/resources/style.css</lin
k><![CDATA[">

</HEAD>
<BODY>
....
 Please help.
 Thanks,
 Yendung




More information about the opencms-dev mailing list