Solved

HTML Two Column Fieldset Tags

Posted on 2014-12-18
1
128 Views
Last Modified: 2015-01-06
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
Comment
Question by:sbornstein2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 40507957
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question