DEV Community

loading...

Discussion on: Percentages in CSS: you're using them wrong

Collapse
maxart2501 profile image
Massimo Artizzu Author

Yes, of course that would. Any time you don't know the size of a box, but you want something placed in the "same position", is a good fix for percentage positioning.

In my case, that was simpler. In the left half of the page we had the content; in the right, the disegner decided to have some padding from the boundaries, so there you go.