How can I stretch a DIV to 100%, without streching its auto-width parent element?
- by Chris... S...
Given a formular with several fieldsets:
<form>
<fieldset id="a"></fieldset>
<fieldset id="b"></fieldset>
</form>
All fieldsets are to have the same width, whereas it should be the width of the broadest fieldset. The form element has no explicit width.
How can I achieve that?
I thought width: 100% would do it, but it will stretch the form element to window size.