[opencms-dev] WYSIWYG Editor and CSS in RC2

Paul Adams paul.adams at satsumas.com
Thu Feb 13 23:09:50 CET 2003


Alexander,
 
Thanks for the pointer, however that does not work either. My Frametemplate now reads:
 
<XMLTEMPLATE>
<stylesheet>/system/modules/modname/resources/smh.css</stylesheet>
 
I have edited the page source HTML to remove spurious markup imported from Word via a copy and paste (It has a nasty habbit on inserting it's own style attributes!). The only elements I am using are <P> and <H1>. 
 
My CSS is set to Black Verdana for the paragraphs and Orange Verdana for H1 to H6. The WYSIWYG view is showing the text in default (Black Times New Roman), but when I preview the page the CSS is being picked up correctly.
 
Any ideas??
 
Thanks in advance,
Paul Adams

	-----Original Message----- 
	From: Alexander Kandzior [mailto:alex at opencms.org] 
	Sent: Thu 13/02/2003 19:28 
	To: opencms-dev at www.opencms.org 
	Cc: 
	Subject: RE: [opencms-dev] WYSIWYG Editor and CSS in RC2
	
	

	Paul,
	
	in the <stylesheet> tag the path to the CSS must start with a "/".
	
	Best Regards,
	Alex.
	
	Alexander Kandzior
	Alkacon Software - The OpenCms Experts
	http://www.alkacon.com
	
	> -----Original Message-----
	> From: owner-opencms-dev at www.opencms.org
	> [mailto:owner-opencms-dev at www.opencms.org] On Behalf Of Paul Adams
	> Sent: Wednesday, February 12, 2003 10:43 PM
	> To: opencms-dev at opencms.com
	> Subject: [opencms-dev] WYSIWYG Editor and CSS in RC2
	>
	>
	> CSS is not being picked up by the WYSIWYG editor since using
	> the R5 drops. I have the following lines in my frametemplate:
	> 
	> <XMLTEMPLATE>
	> <stylesheet>system/modules/modname/resources/text.css</stylesheet>
	> .
	> .
	> .
	> <LINK rel="stylesheet" type="text/css" href="]]><method
	> name="getServletPath"/><![CDATA[system/modules/modname/resourc
	> es/text.css">
	> 
	> The CSS is being picked up by the <LINK> element but the
	> <stylesheet> element does not appear to work.
	> 
	> I am running the following environment:
	> OpenCMS 5.0 RC2
	> Tomcat 4.1.18
	> Java SDK 1.4.1
	> MySQL 3.23.54
	> Windows XP
	> IE 6.0
	> 
	> Regards
	> Paul Adams
	>
	
	
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 6042 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030213/fc53ce9e/attachment.bin>


More information about the opencms-dev mailing list