View Full Version : How to CENTER text but with left margin of 60px and without TABLEs?

02-06-2012, 02:53 PM
Assume I want to place some text centered on a web page.
BUT: the center place should be calculated with the left margin of 60px.

That means the left border of space should be = left border of browser window + 60px

How can I achieve this?


02-06-2012, 03:15 PM
If it's just text, then the following css would achieve what you want:


with (for example}

<p class="mystyle">Centered and offset on the left</p>