To center images and text you will use a simple html code.  This is what it will look like for images:

<p align=”center”><img src=”http://www.yourdomain.com/yourimage.jpg“></p>

The same exact HTML is used to center text. But instead of the “img src” between the P commands, you write your own text.

This might be useful for presenting a title, caption or quote, but I’d avoid  using it for lots of text because it’s not very natural to read a jagged line on the left hand side.

Centered text code looks like:

<p align=”center”>Your Text here</p>

Easy as pie, Mmmm…. I love pie

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • NewsVine
  • StumbleUpon
  • Technorati
  • TwitThis

No related posts.