Letractively / jcatapult

Automatically exported from code.google.com/p/jcatapult
0 stars 0 forks source link

Control template for submit button doesn't allow alignment very well #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The control template for the submit button needs better HTML so that it can
be aligned with labels on the left and also moved independent of everything
else on the form. Something like this:

<div class="button">
<div class="no-label-container"></div>
<div class="control-container"><input type="submit"/></div>
</div>

This will allow it to be aligned with everything else.

Original issue reported on code.google.com by bpontare...@gmail.com on 13 Jan 2009 at 10:52

GoogleCodeExporter commented 8 years ago
Updated all of the CSS classes in all the templates to use a model that allows 
for control at these levels:

  - Specific class of control (i.e. checkboxes only)
  - All input controls (radio, text, checkbox, select, etc)
  - All controls

All controls now also have a label container, even if they don't have one so 
that it can be used for alignment. 
Also, the checkboxlist and radiolist now have the same layout as the other 
controls with a single outer div. 
They also have multiple inner divs for each control (i.e. each checkbox)

Original comment by bpontare...@gmail.com on 19 Mar 2009 at 2:48