PDA

View Full Version : HTML code to position text



Gangster
11-08-2008, 08:28 PM
I'm doing the content for my fansite, and I was wondering, what's the HTML code to postion text?

I know <center> = middle.

How to you get it to go to the right.

Robby
11-08-2008, 08:29 PM
<p align="right"> ??

Excellent1
11-08-2008, 08:56 PM
One the div just use text-align:right; OR <span style="float:right;">Blahh</span>

Gangster
11-08-2008, 09:07 PM
<p align="right"> ??
Ty that worked, but another problem now.

Atm it looks like this

(Real)
http://www.tehupload.com/uploads/961656869f48451postion.PNG

And i want it to look like this

(Paint)
http://www.tehupload.com/uploads/118156869f48451postion_fake.PNG

How do i do that?

--ss--
11-08-2008, 09:14 PM
Ty that worked, but another problem now.

Atm it looks like this

(Real)
http://www.tehupload.com/uploads/961656869f48451postion.PNG

And i want it to look like this

(Paint)
http://www.tehupload.com/uploads/118156869f48451postion_fake.PNG

How do i do that?
Float it to the left via css ;).

Stepheen
11-08-2008, 09:18 PM
<img src="" align="left" />

Swinkid
11-08-2008, 09:29 PM
I'm doing the content for my fansite, and I was wondering, what's the HTML code to postion text?

I know <center> = middle.

How to you get it to go to the right.
DONT USE CENTER! Its rubbish coding :P

Try:


<div align="right">(text)</div>

Gangster
11-08-2008, 09:33 PM
DONT USE CENTER! Its rubbish coding :P

Try:


<div align="right">(text)</div>
That's for when you have a CSS code. I'm using image source.

--ss--
11-08-2008, 09:35 PM
That's for when you have a CSS code. I'm using image source.

<img src="lol.png" style="float:left;" />

Swinkid
11-08-2008, 09:35 PM
That's for when you have a CSS code. I'm using image source.
<img align="right"> ? i cant rember rest of a image code.. im tierd mines gone blank.. (the man)


Or you could just ask me to code it in divs for you?

Excellent1
11-08-2008, 09:36 PM
Personally I'd make the image float left and the text will follow:


<img alt='' title='' src='yourimage.png' align='left' height='heightofimage' width='widthofimage'/>

Swinkid
11-08-2008, 09:39 PM
Personally I'd make the image float left and the text will follow:


<img alt='' title='' src='yourimage.png' align='left' height='heightofimage' width='widthofimage'/>
You dont always need to declare the height and the width of the image..

Gangster
11-08-2008, 09:43 PM
Steephen i tried your one and it worked, ty, mod close thread please.

Meti
12-08-2008, 01:26 PM
In DIV's:
<div align="right/left/center">YOUR TEXT HERE</div>

Tables:
<p align="right/left/center">

Excellent1
12-08-2008, 02:01 PM
In DIV's:
<div align="right/left/center">YOUR TEXT HERE</div>

Tables:
<p align="right/left/center">Easiest way is just aligning the image.

Mistajam
13-08-2008, 12:13 PM
In DIV's:
<div align="right/left/center">YOUR TEXT HERE</div>

Tables:
<p align="right/left/center">
In this will work efficiently enough:

<td align="left/right"> Text ness</td>

Gangster
13-08-2008, 02:06 PM
MOD close thread please.

Want to hide these adverts? Register an account for free!