View Full Version : Positioning


mayday
04-20-2003, 10:21 PM
How do I position things on my website?? I just got my header done and I want to create a table on the left side but I can't seem to get it a couple inches down from my header. What is the code to position things vertically?

MaGiCSuN
04-20-2003, 10:57 PM
You could absolute position your table with this:

<table style="position: absolute; top: #px; left: #px" width="#px" height="#px"><tr><td></td></tr></table>

or you could use this :

<table valign="top, bottom, middle" align="left, right, center"><tr><td></td></tr></table>

choose one of the 3 options i filled in

i would suggest using absolute position, because when positioning something with "align="right" then it will be in ALL resolutions to the right, so when someone has a bigger resolution the layout will be totally messed up, because some content goes outside the layout b'coz of the align="right" option.

Love,
Mirna

racers_site
04-20-2003, 11:08 PM
or you can just use <br> for each line, 1 <br> = 1 line.

thats what I use...