aligning an image vertically?

They have: 1,587 posts

Joined: Mar 1999

is there code to align an image vertically, center does it horizontally, don't know how to do it vertically.

thx in advance

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

my book says:
ALIGN="BOTTOM | LEFT | MIDDLE | RIGHT | TOP"
but I've never tried it.

They have: 21 posts

Joined: Nov 2000

Positioning an image vertically would depend on the length of the page, wouldn't it?

If it's in a table, it is automatically centered vertically.

Give some more details on exactly what you need to do and maybe we can help more. Smiling

Jon.

Jon Steele -
EverySolution.com

They have: 6 posts

Joined: Feb 2001

you could nest a table so it centres hoz and vert wherever you want the image.e.g

Yourimage

this is my first post and i havent worked this place out yet so my indenting has gone!

play around with it a bit. i would advise using css if you can however - you have far more control.

ross

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

hello ross, and welcome to TWF!

if you want to post formated (indented) text/code, use the [ code ] [ /code ] tags (without spaces)...
Read more about vB code here

Mark Hensler
If there is no answer on Google, then there is no question.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.