Incorrect div align of twitter bootstrap

322
December 10, 2016, at 3:18 PM

I am trying to append data to div using json request.
What i am trying to do is just simple fetch json request and then create div (<div class="col-md-4">My div box</div>) and append to previously created div.

Now initially everything is right and working but after some time their alignment was wrong. It shows me something like below screenshot.


But it should be like this as early this was okay.

Previous screen shot


I guess this is due to HTML cache or may be dynamically div appending by JavaScript.

Answer 1

Make the col-md-4 class the same height, this will float the divs properly

Answer 2

In the first screen shot the three column height are different that why it broken , so it's better you just set an fixed height for the column then it should work. set height for the class 'feed-box'. i hope this will do it for you.

Rent Charter Buses Company
READ ALSO
Why can&#39;t JQuery set anchor &ldquo;download&rdquo; attribute value?

Why can't JQuery set anchor “download” attribute value?

I'm trying to dynamically set the value for the download attribute of an anchorThis should be the file name of the downloaded file

289
ajax cannot post back node express

ajax cannot post back node express

i am using Ajax and submitting a formmy form contains a image file which i am getting by input type file and some values from input fields

328
Rendering the partial View in the correct table row

Rendering the partial View in the correct table row

I have View where the values are populated in a tableThere is a link to generate another table(Partial View) which needs to be displayed exactly below the row from where the link was clicked

335
Jquery &ldquo; Close outside&rdquo; function and hiding container on button click

Jquery “ Close outside” function and hiding container on button click

I wanted to ask, how can i hide some element, using button which previously open this element ?

362