By zach harkey on
Inside forms (e.g. Node edit form > the 'Options' checkboxes), is it really necessary for every checkbox to be enclosed in its own <div class="form-item"> ? It makes it much more difficult to style with css.
This is exactly what <br /> tags are for.
-Zach
Comments
What if I do not want a break?
I have someone who wants the forms more "compact", the
can make that more difficult
Steve
Good point
Using css descendant selectors we could work with or without the breaks,
We could remove the breaks and use css to simulate a break with something like:
which would knock the input field down to the next line.
Or, we could leave the breaks and let css override them.
Something like
or
Either way, we don't need the extra divs. In fact, those extra divs make it just as hard, if not harder to style "compact"... don't they?
: z
Remove br tags?
I'd like to see the br tags removed - I seem to remove them in CSS in most of my sites. Positioning should be left to CSS.
---
paul byrne
web monkey - http://www.leafish.co.uk/
---
Paul Byrne
pfaocle.co.uk | CTI digital