Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
    
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 Apr 27 '10 at 20:17
    
You can use back ticks ` to format the code like this <center> –  ChrisF Apr 27 '10 at 20:22

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer
    
Thanks. It works. –  user35379 Apr 27 '10 at 22:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.