Forums

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

Home Forums CSS Spread Classes Evenly Within Wrapper

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #44034
    jknetdesign
    Participant

    [Your text to link here…](http://surfwithnicole.com/aboutus/press “Press Page”)

    I have .press-holder set to 105% to get the third container perfect with the edge of the main wrapper.

    The borders are temporary for the visual.

    When you squeeze the browser it causes a horizontal scroll.

    What’s the best way to space these apart without a right margin on the third container in the container?

    #131375
    Paulie_D
    Member
    #131466
    Cyanoxide
    Participant

    I think you are looking for this code. It applies 0px right margin to every third press holder and it’s offset by one to account for the various elements that are effecting it.

    .press-holder:nth-child(3n +1){
    margin-right:0px;

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