Re: [Xsltforms-support] Styling problem
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2013-04-21 15:51:59
|
Hello Fred, > However, in some cases XSLTForms drops a <div > class="xforms-group-content"> around the input+caption, that gets half > as wide as the container div, so the input shows under the caption > instead of next to it. I cannot style <div > class="xforms-group-content">, because they are all over the place. > Defining their width as 100% screws up the form. For each group, a <div class="xforms-group-content"> is always created. I check with your test case and it sounds OK for me. > > In the example are two inputs, the first one styles OK, the second one > not. The rendering for the first one and the second one are different because the corresponding labels are not located identically. For the first one, the corresponding label is located in the grand-parent group. For the second one, the corresponding label is located in the parent group. > > Did any of you hit a similar problem? Any suggestions for a solution? > Did you try to associate the label directly to the corresponding input control? XForms 2.0 does not yet specify xforms:label/@for and this is not implemented in latest build of XSLTForms. Thank you for your feedbacks! -Alain |