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

Home Forums CSS parent container width issue Reply To: parent container width issue


brilliant! thanks a million.

one more thing, when the screen is resized then the right-most object moves to the bottom. if the screen is resized more, then then next item moves. all this is fine.

however, how would i make the items centered? i.e. using the

@media screen and (max-width: 655px) {

what would i need to use so that when the screen is smaller than 655px, the alignment of the first box which moves to the next line is centered?