Solved

HTML Two Column Fieldset Tags

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Summernote and form validation 10 47
How can I apply two background images in CSS 4 33
Responsive CSS question 2 42
modify h2 4 20
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
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.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now