Solved

HTML Two Column Fieldset Tags

Posted on 2014-12-18
1
135 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

617 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