I pasted this code to create a large folder, but it ruined my left and right border of my wrapper (it disappears). You can see it here http://blog.howtodjango.com/temp/template/
Below is the code calling it.
.gallery li { display: inline; list-style: none; width: 126px; min-height: 175px; float: left; margin: 15px 15px 1px 15px; text-align: center; }
Any help would be great!
You need to set the overflow: auto and remove the left pad on # main-content
#main-content { background: none; overflow: auto; padding-top: 5px;
}
This works for me.
#main-content { background: none repeat scroll 0 0 white; overflow: hidden; padding-left: 250px; padding-top: 5px; }
If you want to understand why, read this.
this is due to floating elements
#page-wrap { overflow: hidden; }
You need to remove the extra div tag that exists in your code. Remove one of them at the end and see if this works. Or you may not have an open tag. Since you did not submit your code, I cannot figure it out.
div
Source: https://habr.com/ru/post/1388782/More articles:Removing extraneous edges in a directed acyclic graph when searching for the longest paths - javascriptVectorization / acceleration of code with nested loops - rLooking for the longest common subsequence in a variable number of sets without duplicate characters? - javascriptCan I use phonegap to create the same application for iOS and Android? - cordovaHow to simulate "No." occurrences or "Repeat count" with CronTriggers in Java? - javaaccept () is interrupted by a signal and epoll_wait () - cwhy do Date.parse ('2012-01-01') and Date.parse ('1/1/2012') return different values? - javascriptRemove request argument from url in javascript - javascriptissubclass throws an exception if the first argument is not a class - pythonApply the same effect to all elements with the same tabindex in the focus of one of them - cssAll Articles