Jeremy Quinn wrote: > > Part of our rationale for using a product like XMLMind, was that we > could largely re-use the CSS Stylesheets we use for display on the > Browser, in the editing environment, so they look as similar as > possible to each other.
Unfortunately, you simply cannot do this with XXE. You must develop CSS style sheets specifically for XXE as XXE only supports a *subset* of CSS2. Rationale: * Web browsers such as IE or Mozilla aims to be CSS-compliant. * XXE does not care about being CSS-compliant. The problem of XXE is to have a simple, easy to learn, efficient to implement, formalism for styling elements. > Within minutes of applying CSS to my document configuration, I am > finding (what seem to be) common CSS properties are unsupported in > XMLMind. > > eg. > > float: left|right|none; > border-right: N; > border-left: N; > margin: N N N N; > > And I have only just started ;) No XXE user ever complained about CSS support being too weak to be usable. > What is the rationale for leaving this stuff out? > > Will this situation change? > > Is there a list of supported properties? Please take the time to read the "Power User's Guide", chapter "CSS2 support". (0n-line http://www.xmlmind.com/xmleditor/_distrib/docs/poweruser/index.html , of course, also included in the distribution) > I have also found errors in the error reports ..... it might complain > that the property 'color' is not supported on some line of my CSS, when > in fact that line contains not 'color' but 'background-color'. This is a minor bug. The same message "unsupported value for property 'color'" is used for all types of properties which have a color value (color, background-color, border-top-color, etc). However, the line number is right and you really have a problem with the property value. > You can see the type of layout I am attempting to replicate by browsing > around: > > <http://www.iniva.org> This type of layout is *very simple*. Load DocBook or XHTML samples into XXE to see by yourself that XXE can do much, much more. PS: When you develop a CSS style sheet for XXE, you can use the Style menu to reload the CSS style sheet from its source (i.e. you do not need to restart XXE for that).

