[opencms-dev] Stylesheet !!! URGENT !

Thomas März thomasmaerz at gmx.de
Mon Jul 21 15:42:00 CEST 2003


Hello,

Thomas Corte <Thomas.Corte at knipp.de> writes:
> Roberto Ghizzioli wrote:
>> about css..... there's same problem
>> if I define a style .mystyle {
>> ....
>> }
>> in my css file, and I include in my jsptemplate.... but.... how link
>> mystyle to a text in my Wysiwyg editor ????
>
> I have s similar problem here - I defined some CSS styles that should
> be applied to certain (not all) table rows (like <tr class="myclass"
> ...>).
> However, there seems to be no way to do so in the WYSIWYG editor -
> I only managed to do that by editing the source directly or by copying
> an existing table row that already got the style.
>
> Am I missing something here?

No. But you can /overwrite/ the WYSIWYG styles in your CSS file. For
example set styles for the tag <h1> ... <h6> and what you see is what
you get. This is not sufficient for everyone, but one solution.

> If should be no way to attach styles to
> certain HTML elements, doesn't this render the WYSIWYG editor
> virtually useless for non-technical personnel?

Or see it this way: non-technical persons can't cause too many
problems. Tell them to use the dropdown-lists, and for your
table-problem use the HTML-gallery.

Best Regards,
Thomas Maerz




More information about the opencms-dev mailing list