View Full Version : Align and what the crap?


rogue sp
05-05-2003, 04:04 PM
Pls tell me how do you align images or text? i don't really understand and pls show me the example of the code...

thanks
-peace out-

MaGiCSuN
05-05-2003, 04:54 PM
text

<div align="center, left, right"> text here </div>

choose one of the 3 options and fill that in.

images:

<img src="image.gif" border=0 height="#" width="#" align="center,left,right">

above choose one from the align and fill that in.

Love,
mirna

rogue sp
05-06-2003, 03:16 PM
how about valign* or whatever it's called* u can position stuff on the top or bottom.. how do u make the code... i need it especially for my table cuz the text [default] it's at the center .. help!

MaGiCSuN
05-06-2003, 04:12 PM
then you must haev a <center> tag somewhere in your table or whatever, because default text without any tags is at the top left corner from the table, even when the table itself is centered with the <center> tag

for valign it's this:

<img src="blah.gif" valign="top, bottom, middle">

or with text

<div valign="top, bottom, middle">
text here
</div>

or for tables

<table valign="top, bottom, middle">
<tr><td valign="top, bottom, middle">text here</td></tr></table>

remember that the table valign will make the table on the place you've selected and the td valign will make the text inside the talbe go up down or in the middle.

love,
mirna