View Full Version : image position


LindseyJuly
01-16-2003, 11:05 PM
Help! Okay, I have frames and in one of my frames I simply have an image, like the title of my page. How can I position that image to be centered from top to bottoem. In other words, right now there is lot's of extra space at the top of the frame, causing part of the image to be below the frame. I can scroll it down and it fits perfectly in the space I have, so how do I get it to be exactly where I want it??

Alcy
01-16-2003, 11:16 PM
Can you set the image as the background of the page it's on? It would only show the image once in the frame - if the frame is the same size as the image.

LindseyJuly
01-16-2003, 11:18 PM
That's an idea, I will try it and see.

LindseyJuly
01-16-2003, 11:24 PM
Okay, I still need help with this one! Setting the image as the background did not work, because the frame is longer than the image, so I did see all of it from top to bottom, but going across, it started the image over again, which did not look good! What else can I try?

Alcy
01-17-2003, 01:34 AM
On the page with the image on it, you can try setting the background to no repeat
<body style="background-repeat:no-repeat;">

Or, you could try setting the image page margins to zero:
<body topmargin=0 bottommargin=0 leftmargin=0>