AW: [opencms-dev] Stylesheets and WYSIWYG not working together

Kai Schliemann k.schliemann at comundus.com
Tue Mar 29 18:02:13 CEST 2005


Hi Barry,

the property "template" of your master template has to point to your css
file (e.g. template="system/modules/yourmodulename/resources/main.css").

Regards

i.A. Kai Schliemann
IT-Consultant
____________________________________________

comundus IT-Beratung GmbH
Schuttelgrabenring 3, 71332 Waiblingen

Tel:    +49 (0) 71 51-5 00 28-0   Fax: -99

www.comundus.com  www.comundus-e-quality.com
____________________________________________



-----Ursprungliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]Im Auftrag von Barry
Gesendet: Dienstag, 29. Marz 2005 17:19
An: 'The OpenCms mailing list'
Betreff: [opencms-dev] Stylesheets and WYSIWYG not working together


Hi All,

I have a minor annoyance with the WYSIWIG Editor. I have defined my
templates so that all the HTML in a body element is enclosed in a table and
directly in a tag like this:

	<td class="normal">
		<cms:include element="body" editable="true"/>
	</td>

And my template also includes a stylesheet which defines a style like this:

.normal
{
font-family: Ariel;
font-size: 9pt;
}

This works fine in the Online and Offline projects which use the Ariel font.
When I open the body text in the editor though, it still shows as Times New
Roman.

Is there a way to get the Editor to use a different default font, or even
better get it to somehow pick up the font from the stylesheet?

Many thanks for any help,
Barry.



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list