View Full Version : Adding space between images


rosebug
08-27-2003, 06:06 PM
Hello...

I know how to add space above and below an image (by using the vspace element) but how can I add space only ABOVE the image (with no space added below it).

To explain my situation (it may help make things more clear)

I am working in a page with tables, the particular cell I would want images in is 220 pixels wide, and it's lenght matches the amount of text in the cell to the left of it.

The text I am placing is a profile of my company's principals, and we want to add pictures of each principal accross from their profile text. I have three images to place.

The top image I have no problem with...I simply say valign=top.

The middle image I don't have a problem with either.

It is the bottom image that is making me frustrated. I need it to be approximatly 990 pixels below the middle image; however, with the <b>vspace</b> element, it is also adding 990 pixels BELOW the image as well, which leaves all kind of uneeded space under the text and image.

SO, ultimately, I do not want any space added under the image at the bottom.



What should I do? THANKS SO MUCH for any help!

pb&j
08-27-2003, 08:28 PM
give this a try by adding it to your IMG tag instead of VSPACE...

style="margin-top:990px;"

rosebug
08-27-2003, 09:33 PM
ah...that did it! yay for you! thanks so much.