Robert Ganowski wrote:
> Thank you, your suggestion gives the partial solution i.e. revert the 
> situation to the one I was glad to have using 3.1.0 version. I'm not sure how 
> to understand your words ?will make listitems pretty ugly?. 
> 
> Well..., now I would have to expand the listitem just ones, after addition of 
>  
> second para (the first is always there). If I can't eliminate this (one) 
> move, I'll be happy to live with it. Expanding once is better then having to 
> expand more then once.
> 
> The thing I wonder about is that I have to edit original DocBook 
> configuration 
> file (comment out the pointed part). 

Yes, you need to do this.

> I have my own configuration which 
> inherit DocBook one and expands it. I share that configuration with fellows. 
> 
> For a moment I thought that I could overwrite the original definition, you 
> suggested to comment out, by adding to mine such a text: 
> 
> listitem > *:first-child {
>     margin-top: auto;
>     margin-bottom: auto;
> }
> 
> I'm not CSS expert, unfortunately. I thought that if margins were not 
> defined, 
> they were automatically treated as auto. That's seams to be not true. 
> 
> Don't you see any other clues, please. 

No. You really need to comment out (or, if you prefer, to completely
remove) this rule:

---
 listitem > *:first-child {
     margin-top: 0;
     margin-bottom: 0;
 }
---

from file <XXE_install_dir>/addon/config/docbook/css/docbook2.imp. You
cannot simply override this rule by another one of your own.

That is, XXE's CSS engine must not see this CSS *selector* at all:
---
listitem > *:first-child
---

There is no other way to suppress the behavior I've described.





Reply via email to