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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:15:12+00:00 2026-05-31T19:15:12+00:00

I want to create a resizable grid, filled with draggable and sortable icons (similar

  • 0

I want to create a resizable grid, filled with draggable and sortable icons (similar like in a desktop).
The problem is that with css “float: left”, I get a “horizontal” filling grid (from left to right, then top to bottom), what I want is from top-to-bottom, then left-to-right (also like desktop)

Current State:

[ icon1 ][ icon2 ][ icon3 ]
[ icon4 ][ icon5 ][ empty ]
[ empty ][ empty ][ empty ]

Desired State:

[ icon1 ][ icon4 ][ empty ]
[ icon2 ][ icon5 ][ empty ]
[ icon3 ][ empty ][ empty ]

Any sugestions on html markup or css rules?

right now i have a js script that gets the height of the container div and if it is smaller than the height of the list of icons, it creates another ul and populates it with the one hidden, but i don’t think it is the best solution.

Thanks

Aditional Notes: I’m using jQuery and jQuery UI, the proyect is for Google Chrome only so I’m not worried much about browser compatibility, also, I don’t have troubles with HTML5 or CSS3 solutions that are browser especific. At last, the icons are loaded dinamicaly and the cointainer can be resizable so I don’t think that the icons could be absolute positioned

*Sory for my English*

  • 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-31T19:15:13+00:00Added an answer on May 31, 2026 at 7:15 pm

    This could be possible using column-width and column-gap in CSS3

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

Sidebar

Related Questions

I want to create a draggable and resizable window in JavaScript for cross browser
I want to create a grid (possibly resizable) for a game where when the
I have three problems: I want to create resizable shapes with box bounding... I
I want to create a stored procedure (on SQL Server 2005) that fetches a
I want to create a child window that takes up all the space of
I'm trying to create a <div> that has an opacity of 60%. I want
I want to have a dialog that looks kinda like this: I thought this
I want to create a number of div s that I can move and
I want to create a really easy to use 2D Grid. Each cell in
I want to create a layout that has small panels at the top and

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.