Je fais des tableaux en html, et les zones de saisie sont en xul.
Mais je voudrais que mes balises <textbox> est une largeur identique à leur parent, en l'occurrence une balise <html:td>.
Le flex est inopérant, et j'ai essayé de gérer avec la CSS, mais sans résultat.
Avez-vous une solution, svp ?

Ci-joint, un exemple :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
 
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href='data:text/css,box,
textbox input
{
 
}
.monflex
{
    color:red;
}
' type='text/css'?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
    <!-- your code here -->
<box xmlns:html="http://www.w3.org/1999/xhtml">
<html:table border="1" cellspacing="0" cellpadding="0" >
    <html:col />
    <html:col />
    <html:col />
 
    <html:tr>
      <html:td colspan="2" ><description value="Un texte très long qui fait que les cellules textbox ci-dessus n'occupent pas toute la place disponible "/></html:td>
        <html:td >
            <textbox
               deplacable="false"                                  
               duplicable="false" />
        </html:td>
 
    </html:tr>
 
    <html:tr >
        <html:td >
            <textbox class="monflex" value="test"
               deplacable="false"                                   
               duplicable="false" />
        </html:td>
        <html:td>
            <textbox class="monflex"
               deplacable="false"                                  
               duplicable="false" />
        </html:td>
        <html:td>
            <textbox class="monflex"
               deplacable="false"                                 
               duplicable="false" />
        </html:td>
 
        </html:tr>
 
        <html:tr>
            <html:td >
                <textbox class="monflex"
               deplacable="false"                                  
               duplicable="false" />
            </html:td>
            <html:td>
                <textbox class="monflex"
               deplacable="false"                                  
               duplicable="false" />
            </html:td>
            <html:td>
                <textbox class="monflex"
               deplacable="false"                                 
               duplicable="false" />
        </html:td>
 
        </html:tr>
 
 
    </html:table> 
</box>
</window>