- This topic is empty.
Viewing 10 posts - 1 through 10 (of 10 total)
Viewing 10 posts - 1 through 10 (of 10 total)
- The forum ‘Design’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi!
Im using bootstrap grid and I need to remove an intend. After content block and before <footer>. There is a huge intend after content block! Any ideas please!
What do you mean with “intend”?
I only see some empty space, caused by the inline padding…
https://postimg.org/image/u46hmin01/
That white space (intend) I need to make it smaller.
Can’t you simply change the amount of padding then?
<div id="socialshare" style="background-color: rgb(255, 255, 255); padding-top: 90px; padding-bottom: 90px;">
tenx, gimme some example please!
It’s the two values in the snippet above… or did you not hard code that into the HTML? If not, I think we’d need to see more source code to check where it came from.
Tenk ju! padding-top: 20px; padding-bottom: 30px; solved this problem. Ye, its hardcoded html (with javascript).
As I said above Im using bootstrap grid. There is a question: My div id=wrapper wrapp all content after div id header. All content are centred, its all good. What kind of value i must to use to div id=wrapper?
Not sure what you mean by that… you’d like the text to be centered?
#wrapper {
text-align: center;
}
Thanks. No, bootstrap grid allows you to centred all elements. Im talking about height and width of div id=wrapper
I have: #wrapper width:100% but dono about height. How to calculate height?
http://www.w3schools.com/cssref/css3_pr_box-sizing.asp
This will allow to define the height including padding.
Adding width: 100%
for a div
isn’t necessary by the way, it has that value by default (when not positioned absolutely).