How do I offset centered text (without fancy CSS, DHTML, etc.)?

1

Quick, hopefully easy question. Google is failing me. I don't want my text exactly centered. I want it maybe 7 characters (blank spaces) over. What do I add to this to do that? <.center>This is centered<./center>

Adding blanks in front of the "T" does nothing.

(I added the dots in the code above because I can't get <.code> blocks/spans to let me put the html code here.)

(Nothing fancy - no CSS, DHTML, XHTML - just plain old HTML.)

Thanks.

user35379

Posted 2010-04-27T20:02:13.280

Reputation:

You can edit your post and add <pre><code> code here </code></pre> around your HTML code so MarkDown doesn't strip it from the post. – squircle – 2010-04-27T20:17:04.270

You can use back ticks ` to format the code like this <center> – ChrisF – 2010-04-27T20:22:40.970

Answers

3

You can use a &nbsp; non-breaking space to nudge it over. Insert seven of these and it will move over seven spaces.

Josh K

Posted 2010-04-27T20:02:13.280

Reputation: 11 754