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

Home Forums Design CSS Centre and Left align Reply To: CSS Centre and Left align


Beverley, using width / max-width is something I did before you suggested it, but it’s not the intended outcome, because obviously I won’t have the resolution of every page viewer.

I want the green box to wrap around the red boxes, and not expand to the full-width, Automatically.

Do you know how to do this?

If the worst comes to the worst, I can set the width using javascript, but this is overkill, there must be a css solution.