Thanks again Hussein, the problem is solved !
I have rewrited the css as follows :
1. removed all the "display:block;" settings,
2. added
* {
display:block;
}
3. and of course set display:inline; for all the concerned elements.
The result is perfect :)
Have a nice day !
Maud
On Fri, Aug 20, 2010 at 11:09 AM, Hussein Shafie <[email protected]>wrote:
> Maud Ingarao wrote:
> >
> > Yet I have a last small but very annoying problem about which I don't
> > know if it comes from the TEI configuration I am testing or from
> > something else :
> > all the elements for which I set the "display" property to "block" in
> > the css appear on a single line. See the huge horizontal scrolling bar
> > on the screenshot !
> >
> > Here again I have tried a lot of things (set a value for the "width"
> > property of course, checked that the white spaces are correctly encoded,
> > etc.) but nothing works...
> >
> > And here again I have no more idea what I should try now...
> >
>
> [1] As an author you are not supposed to mess with the CSS. You need to
> report this problem, which is almost certainly not a big one, to the
> person who wrote your TEI configuration.
>
> [2] As explained in my previous email, it's almost impossible to help
> you because we know nothing about TEI and because we didn't write the
> TEI configuration for XMLmind XML Editor.
>
> [3] My *guesses* are:
>
> [a] May be your CSS styles the numbered elements shown in your
> screenshot as "display:block;", which is correct, but that one of their
> ancestor elements has "display:inline;" (or has no "display" at all,
> which means "inline").
>
> Blocks inside inlines simply do not work in XMLmind XML Editor.
>
> [b] May be your CSS styles the numbered elements shown in your
> screenshot as "white-space:pre;" or "white-space:nowrap;". In such case,
> this property is the culprit.
>
> [c] May be these numbered elements contain non-breakable spaces and not
> plain whitespace. If this is the case, the only way to force such long
> lines to wrap is to select option "Wrap words wider than available
> space" in Options|Preferences, View section.
>
> More info.:
>
> http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.guiutil.PreferencesEditorDialog.html#viewOptions
>
>
>
>
>
>
--
Maud Ingarao
Institut d’histoire de la pensée classique, de l’Humanisme aux Lumières -
UMR 5037
Ecole Normale Supérieure de Lyon
Site Descartes - Bureau R322
15 Parvis René Descartes
BP7000 69342 Lyon CEDEX 07
+33 4 37 37 65 79
[email protected]
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support