Looks like I misinterpreted 'first-child' behavior:
In the following fragment, I am trying to select the first description
element. Is this possible?

MT
--

 <field attrC="C0" attrD="D0">
  <name>name0</name>
  <title>title0</title>
  <description>description 01</description>
  <description>description 02</description>
 </field>




On Tue, May 1, 2012 at 9:28 AM, Marcel Tromp <[email protected]>wrote:

>
>
>  On Tue, May 1, 2012 at 1:14 AM, Hussein Shafie <[email protected]>wrote:
>
>> On 05/01/2012 08:59 AM, Marcel Tromp wrote:
>>
>>> I am still trying to get all field components to display in a single row.
>>> I am seeing *child-first:before* being used in the docbook.css, but I
>>>
>>> don't seem be able to make this do anything in my css. Are there any
>>> limitations to *child-first:before* in xmlmind?
>>>
>>
>> There is no such thing as "child-first". It's "first-child". See
>> http://www.w3.org/TR/CSS2/**selector.html#first-child<http://www.w3.org/TR/CSS2/selector.html#first-child>.
>> XXE may have reported you a warning about this unknown pseudo-class.
>
>
> I meant to say "first-child": it does not seem to do anything. I get no
> warnings either.
>
>   My understanding is that I need to be able to specify a width for an
>>> inline-block. However, this does not seem to have any effect. Is this
>>> supported?
>>>
>>
>> No, and this is clearly documented here: http://www.xmlmind.com/**
>> xmleditor/_distrib/doc/**csssupport/restrict.html<http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/restrict.html>
>>
>> ---
>> width length | auto No percentage. This property is currently only useful
>> to specify the minimum width of a table cell.
>> ---
>>
>
> Any plans for more "width" support? It would be nice to be able to
> dimension blocks and inline-blocks.
>
> MT
> --
>
>
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to