On 03/07/2011 07:47 PM, Hussein Shafie wrote:
> On 03/07/2011 06:02 PM, Philippe Nobili wrote:
>>
>> Yes, my apologies, I intended to make it short (but actually it's too short
>> !)
>> Here is the beginning (the same excerpt):
>>
>> geov|buf:before ,
>> geov|mainbuf:before ,
>> geov|value:before {
>>
>> content: insert-after-button() " "
>> label(xpath,"geov:nativeDescript/@name") "\A " attributes() ;
>>
>> }
>>
> Something like this cannot be correctly aligned and cannot have the
> right size as the attributes() panel is inherently a block.
>
> You should specify a display other than inline (default value).
I see; FYI, the alignment is however OK with the current CSS code (from
what you say, we are just being lucky...).
> You should consider using a ``layout'' for the generated content. See
> http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/layouts.html
>
We shall try this, thanks.
> It seems that "show-attribute: always;" works only when the name of the
> attribute has been specified in the ::attribute() CSS pseudo-element.
>
OK, thank you. This makes the CSS longer, no doubt, but it shall solve
our problem.
Many thanks for your valuable help,
Best regards,
Philippe.
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support