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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:27:11+00:00 2026-06-11T04:27:11+00:00

<div class=rectangle-wrapper> <div class=rectangle-3 rect-box> <div class=image-wrap> <img src=img source here alt=/> </div> <div

  • 0
<div class="rectangle-wrapper">
        <div class="rectangle-3 rect-box">
            <div class="image-wrap">
                <img src="img source here" alt=""/>
            </div>
            <div class="controls">
                <i class="icon-arrow-up icon-2 icon-it"></i>

                <div class="text-3">69</div>
                <i class="icon-arrow-down icon-3 icon-it"></i>
                <a onclick="" href="#" class="btn-rect">
                    <div class="rectangle-4 rect-btn">
                        <div class="text-4">Sho Frenz</div>
                    </div>
                </a>
                <a onclick="" href="#"class="btn-rect">
                    <div class="rectangle-5 rect-btn">
                        <div class="text-5">Aii Waant!</div>
                    </div>
                </a>
            </div>
        </div>
</div>

 $(".rectangle-wrapper").masonry({
                itemSelector:".rect-box ",
                columnWidth:240,
                isFitWidth:true,
                gutterWidth:0
            });

I have using masonry from http://masonry.desandro.com/ and found a problem that it’s not work in firefox and IE.

it’s show me as expect 4 elements in the single rows. In Firefox and Ie their is only 2 elements show on elemnts and other place is a spaces.

Can someone let me know how I can fix it.

  • 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-11T04:27:13+00:00Added an answer on June 11, 2026 at 4:27 am

    Looking at it in Chrome’s devtools, you got it setup wrong. Masonry operates on elements within a container. Don’t just put other things in there like headers and footers. You don’t give the container a height and width – the width is determined by the viewer’s browser window, the height by the number and size of elements. The basic setup is organised like this:

    <div id="container">
      <div class="item">...</div>
      <div class="item">...</div>
      <div class="item">...</div>
      ...
    </div>
    

    The elements should ideally follow a module width and height wise, as you can see in the original documentation. Then you call Masonry like this:

    $(function(){
      $('#container').masonry({
        // options
        itemSelector : '.item',
        columnWidth : 240
      });
    });
    

    It is all in the documentation here.

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

Sidebar

Related Questions

<div class=logo> <h1><a href=/><img src=image.png alt=Red Rectangle /></a></h1> </div> .logo h1 img{ position: relative;
Here's some HTML: <div class=float> <img class=left src=bradBeachHeart.JPG alt=Brad at the Lake /> <img
I have this code: <div class = content-dir-item> <p>Text input</p> <img src=./images/email.png class =
Currently, all my images look like this: HTML <img class=photo src=foo.png /> CSS .photo
Say I have several inline-block div tags, like this <div class=image> </div> <div class=image>
#div that holds table, table tr td.class of td now what goes here to
How can I get an image to stretch the height of a DIV class?
I have a div class named switch control which has a div class named
I am trying to hide the div class hideme based on value of full_day
JQuery-ui will generate a div with a calendar-div class. Sadly this div is no

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.