Forums

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

Home Forums CSS [Solved] problems with 960 grid system

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

    I want my green blocks(grid_8) to be exactly under the orange block(grid_18). I want them to be touching each other. I tried clear and clearfix – it didn’t help. Guys in stackoverflow couldn’t answer the question either so I came here. Thanks in advance.

    codepen example

    Here it is how it looks

    #169713
    bmoneruiux
    Participant

    You have that big yellow square floated left.

    To get .grid_8 under the orange blocks and touching, you’d need to float .grid_6 right. Something like:

    .container_24 .grid_6 {
    width: 230px;
    float: right;
    }
    #169715
    Tomas.R
    Participant

    omg this works. Thank you very much :]

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