I have a fixed size layout, centered using margin: 0 auto. I wonder whether it is possible to do such a thing with CSS: i need my layout to have right margin two times less then left. Something like:
<-- (2*n px margin) [fixed width div] (n px margin) -->
How? (using css only)
I know you said CSS only, but I’d suggest using javascript in the following way:
Obviously replacing things in *’s with their proper values.
This way it’s scalable to the browser size