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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:54:27+00:00 2026-06-16T16:54:27+00:00

I have a website that has a design like google web store. This is

  • 0

I have a website that has a design like google web store. This is what it looks like:

enter image description here

if you’ll notice in the bottom area the 2 boxes are not filling up the space above.

boxes is wrap by ul and items are in li. The list items are float by left and ul is has a clear.

Here is the link for jsfiddle http://jsfiddle.net/wTCKr/

Please suggest CSS or any JS that will fix this. Thank you.

  • 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-06-16T16:54:28+00:00Added an answer on June 16, 2026 at 4:54 pm

    If you want large boxes on the right, you will need to float them right so that the smaller boxes on the left will fill in correctly.

    <li class="items big" style="float:right">
    

    See this updated JS Fiddle fork.

    This will not solve the problem if you put the big box in the middle. If you also need to support that case, I would suggest it’s time to use absolute positioning and some jQuery or JS to do the layout for you.

    Update: I enjoy a quick challenge, so I wrote some JS to do absolute positioning for you. I used jQuery, but you can convert it to straight JS if you don’t use jQuery on your site. The code assumes that you have the right number of boxes in a valid order (eg. you can’t put a big box on the last row if all the other rows are filled with small boxes).

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

Sidebar

Related Questions

I have a website that has highly granulised access and hence requires many web.config
I have a website that has a relative path to a stylesheet that looks
I have this website http://wedessertmore.com that has some forms popup when you click on
So basically I have website that has names of cities that can be checked
I have a website that has one database I have also Desktop apps that
I have a website that has products list page and product detail page .
I have a website that has approx 1000 different strings in a mysql database
I have a travel related website that has been online for several years (since
I have a section of a website that has three divs next to each
I have been working on a website that has some images that I need

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.