Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3244414
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:32:54+00:00 2026-05-17T18:32:54+00:00

So I have a large form and have grouped the like elements in fieldsets

  • 0

So I have a large form and have grouped the like elements in fieldsets but all the fieldsets have different heights. I float the fieldsets to the left so any extra fieldsets will be pushed underneath (think the next row when reaching the edge of the screen).

How do I get all the field sets to have the same height as the tallest fieldset in that row?

fieldset {
    float: left;
    width: 278px;
    margin: 10px;
    height: inherit; 
    display: inline;
    border: 1px solid #000000;
}

This is somewhat working except the height issue. I don’t want a true grid but a dynamic grid layout, so if someone with a 800×600 screen looks at the site and I have nine fieldsets on the page they should see something like a 3×3 grid. If you have a larger screen you might see something like a 5×4 grid.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:32:55+00:00Added an answer on May 17, 2026 at 6:32 pm

    Your going to have to make some choices, as this cant be done exactly the way you want using pure CSS. With Javascript you could make this work, but not pure CSS.

    With that in mind. You could replace the fieldsets with scrollable divs to get a CSS only version of what you want (note the full contents of the div would not be displayed in all cases. The user may need to scroll). Example:

    <style>
      div {
        float: left;
        width: 278px;
        margin: 10px;
        height: 100px; 
        border: 1px solid #000000;
        overflow: auto;
      }
    </style>
    

    You can try it out here

    Finally the other choice would be to manipulate the height of the fieldsets using javascript after the elements have loaded.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large form that consists of all the input (text, checkbox, radio,
I have a large form (30 different input fields) and want to use jQuery's
I have a large database and would like to select table names that have
Can you surround Datafields in a border? I have a large form that needs
I have a large web form application that I want to allow the user
I have a pretty large form that consists of radio buttons/checkboxes as well as
I want to have a large HTML form broken up into several smaller sub-forms
I have to build a large form for users to fill out in order
I have large text in System.Windows.Forms.TextBox control in my form (winforms), vs 2008. I
I have a very large Form with many date fields that need to be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.