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 ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
