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 7555895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:43:54+00:00 2026-05-30T11:43:54+00:00

I have two rows of 3 boxes, boxes, include image, heading and text. The

  • 0

I have two rows of 3 boxes, boxes, include image, heading and text. The second row doesn’t align. I have set up a JS Fiddle for this to show you my problem:

http://jsfiddle.net/2QJhN/

What is the issue? What have I missed out/done wrong or both?

  • 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-30T11:43:55+00:00Added an answer on May 30, 2026 at 11:43 am

    Floats can be strange when you put them in multiple rows. One solution is to add a hidden div after each column to sort them out. The usual convention is to give it the class name “clear”, with this CSS:

    .clear
    {
        clear: both;
        display: block;
        height: 0;
        overflow: hidden;
        visibility: hidden;
        width: 0;
    }
    

    http://jsfiddle.net/2QJhN/3/

    EDIT: Please note there are lots of different ways to solve this issue, you can wrap each row in a DIV with some other CSS, which some people prefer and may consider neater. In your case it’s still an extra DIV though.

    You’d give it the classname “clearfix”:

    .clearfix:after, .windowContent:after, .pane:after          
    {
        clear: both;
        content: " ";
        display: block;
        font-size: 0;
        height: 0;
        visibility: hidden;
    

    }

    * html .clearfix , * html .windowContent , * html .pane
    {
        zoom: 1;
    }
    *:first-child+html .clearfix , *:first-child+html .windowContent, *:first-child+html    .pane
    {
        zoom: 1;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Overview: I have two text boxes at the top of this form for inputting
I have 3 check boxes in each row of 8 total rows. I want
I have a form containing two text boxes for user input. Both text boxes
I have a table T with (first, second) columns. I have two rows with
I have two rows in two different sheets in Excel. Each row has 20
I have two identical tables and need to copy rows from table to another.
I have two functions to add and remove table rows that contain a form
I have two grids with same number of rows ( also same height). Both
I have two columns in my table and the rows are created dynamically. <table
I have two tables invoices and pending_payments both of which have the following rows

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.