View Full Version : aligning text help please


horseluvr3711
08-03-2005, 03:17 AM
I dont really understand how to align all my text on my page to the RIGHT side of the page.. I tried doing this: <align="right"> before the text but it didnt work... could someone please help me? If you could that would be great, thanks. :)

pb&j
08-03-2005, 03:29 AM
<div style="text-align: right;">

stuff here

</div>

horseluvr3711
08-03-2005, 03:31 AM
but is there any possible way to do it without using a div?

pb&j
08-03-2005, 12:42 PM
you can use a P area. whats wrong with div?

<p style="text-align: right;">

stuff here

</p>

Avenue
08-03-2005, 08:04 PM
What if you want the text to go in the middle of the page?

Do you put something like: middle; center?

iheartfreedom
08-03-2005, 09:51 PM
For a center align, just put this tag anywhere before what you want centered:

<center>

And to close the tag (you don't have to, but if you want to go back to right or left align you'll use this):

</center>

pb&j
08-03-2005, 11:57 PM
What if you want the text to go in the middle of the page?

Do you put something like: middle; center?
yup, center would work...

<p style="text-align: center;">

stuff here

</p>

or the center tag as previously posted.

Zarel
08-04-2005, 02:55 PM
For a center align, just put this tag anywhere before what you want centered:

<center>

And to close the tag (you don't have to, but if you want to go back to right or left align you'll use this):

</center>

Note that the <center> tag is deprecated. This means it should not be used. Instead, use <p style="text-align:center">INSERT TEXT HERE</p> or <div style="text-align:center">INSERT TEXT HERE</div>.

DUANE
08-04-2005, 07:29 PM
Can this be used also?
<p align="center">text here</p>

Can use "left", or "right" als

Zarel
08-04-2005, 08:21 PM
Can this be used also?
<p align="center">text here</p>

Can use "left", or "right" als

No, you want to use <p style="text-align:center;">text here</p>

You can replace "center" with "left" or "right", to align text left or right.

DUANE
08-04-2005, 08:53 PM
No, you want to use <p style="text-align:center;">text here</p>

You can replace "center" with "left" or "right", to align text left or right.
Thank you very much.....it's good to keep up to day, things are changing fast. Much appreciated.