Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

How to align position text in the center middle of the page?

Ads
banner
banner
banner
superman Offline referral

Posts: 61
Joined: Jul 2014
Reputation: 0

#1
Member
I have a text that I would like to align or position in the center of the content I only want this text to be centered and the rest of the content align to the right how can I do it?

How to align to right, center and left?
surenot Offline referral

Posts: 500
Joined: Jan 2014
Reputation: 16

#2
Senior Member
Simply use text-align:center; CSS style!

Wrap the text in DIV and then use inline style, class or ID properties it's up to you!

Here is an example:

Code:
<div style="text-align:center;">Here is the content that will be aligned to the center</div>

To align to the right or left use these:
Code:
text-align:left;
text-align:right;





User(s) browsing this thread: 1 Guest(s)