3
I’m making a site where one of the pages is responsible for listing user posts in box form. Each box corresponds to a new user post, which is generated by the ASP.NET MVC 4 code with Entity Framework 6 automatically, picking up the database information. Doubling the Divs in the html and the formatting of layout of these Divs in css, showcasing and creating links, everything perfect.
But when a new publication box is inserted, it goes down from the previous one and I wanted it to stay on the side and go down with css.
I used a tag in css that is float:left, however the div page body center does not get the height responsive when an element is float, because to keep her responsive I didn’t set the height, I just set a padding-bottom.
I wanted to know how I make the boxes go to the right side and go down as they are automatically generated and keep responsive to height of the body of the page?
Example:
I suggest you change your question and make it more intuitive and easy to read, it’s very confusing... Leverage and add code that might be relevant
– CesarMiguel
If I understand correctly, because your question is extremely confusing, you want it to be a responsive layout ? First of all, which version of MVC ? Because for a while now, MVC comes with the bootstrap guy. Learn the part grids that will help you in your question. But anyway, put the codes you’ve already made ?
– Érik Thiago