Hi!
Am Mittwoch, 7. September 2005 um 15:41:08 haben Sie geschrieben:
> We made several templates (doctypes) in Lenya. Those templates use tables
> for better alignment of text and so on. For the users to be able to see
> where they are typing the border size is set to "1".
> Now I want to change that in the other views. So when looking at the same
> document in the live tab, those table should have a table border of "0".
> Any ideas how to do this ?
Why don't you simply add an id attribute to the body tag when in
editing mode and higlight the containers via css instead of adding
extra tables?
div { /*normal view*/ width: 100px; height: 100px; }
body#editview div { border: 1px solid red; }
The second rule only applies if the body tag has the attribute
id set to "editview".
Change it in the xsl for your editor.
Regards
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]