Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 151
  • Last Modified:

HTML Two Column Fieldset Tags

Hello all,

I have a page where I have defined a FieldSet such as:
<fieldset>
        <legend>Contact Details</legend>
        <div class="editor-label">
         My field label and control is here aka texbox
        </div>...
</fieldset>

I need to create a two column approach to the field set based on the number of fields I have and then place the CSS into my CSS file to use.   Any idea how to do this with two columns?  Worse case I will use div tags instead.
0
sbornstein2
Asked:
sbornstein2
1 Solution
 
COBOLdinosaurCommented:
With a tiny fragment of the markup and no CSS we have no context to allow anything but quesses and vague general recommendations.

Either use two fieldsets and set the width for them to total less than the width of the vewport, and float them left; or if you want that bizarre structure with a div inside of a fieldset then use two divs with width that total less than the width of the fieldset and float them left.

If the nubmer of entries is variable the you need to handle the detail of textbox position on the server; or do something really stupid and use javascript to do the generation client side after the load.

If you need more detail then post a link to the page so we don't have to work wearing a blindfold.

Cd&
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now