Forums

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

Home Forums CSS [Solved] bootstrap gutters not working

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #197986
    asma
    Participant

    I don’t know for what reason bootstrap gutters are not working.

    here i created codepen:
    http://codepen.io/anon/pen/qEJYXO

    http://codepen.io/anon/pen/WbaJXK

    i created 3 blocks each occupying 4 columns, with 1 pixel boarder.there should be gutter spaces between the blocks but there is none the columns are just stick to each other. gutters are suppose to be by default like 30px in bootstrap grid.

    #197999
    Paulie_D
    Member

    Bootstrap uses padding for gutters as I recall…not margins.

    http://codepen.io/Paulie-D/pen/xbyjjw

    #198002
    asma
    Participant

    oh sorry yes padding but that apply automatically i mean if one div is occupying 4 columns and next div also have 4 columns there should be automatic padding between them, but its not there ther are just stick net to each other.

    kindly provide a codepen.

    #198003
    asma
    Participant

    with borders around.

    #198004
    Paulie_D
    Member

    Padding doesn’t come between columns..it’s inside them.

    It sounds like you want margins but that, if I recall correctly, would require extensive changes to Bootstrap.

    Or just add internal divs with their own paddding.

    http://codepen.io/Paulie-D/pen/pvxKzM

    #198008
    asma
    Participant

    Thanku Paulie_D :)

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