Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design intend css

  • This topic is empty.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #250313
    Lipton
    Participant

    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!

    http://codepen.io/anon/pen/WRjayR#anon-signup

    #250314
    Shikkediel
    Participant

    What do you mean with “intend”?

    I only see some empty space, caused by the inline padding…

    #250315
    Lipton
    Participant

    https://postimg.org/image/u46hmin01/

    That white space (intend) I need to make it smaller.

    #250316
    Shikkediel
    Participant

    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;">
    
    #250367
    Lipton
    Participant

    tenx, gimme some example please!

    #250380
    Shikkediel
    Participant

    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.

    #250412
    Lipton
    Participant

    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?

    https://codepen.io/anon/pen/WRjayR

    #250442
    Shikkediel
    Participant

    Not sure what you mean by that… you’d like the text to be centered?

    #wrapper {
     text-align: center;
    }
    
    #250474
    Lipton
    Participant

    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?

    #250479
    Shikkediel
    Participant

    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).

Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘Design’ is closed to new topics and replies.