h0llapiny0
09-11-2003, 01:45 AM
I need help! I know that you can place an image in the center of a page with the width, but how do I place an image in the center of a page regarding height! so it would be in the exact center of a page? I know it's possible to be done, there is an example at http://beyonceonline.com, so if someone could help me out, that would be so great!
If you include VSPACE=n to control the vertical space around the image (replacing the "n" with your number in pixels) in the <IMG> tag that should do it.
Good Luck.
hcgirl80
09-11-2003, 03:39 PM
surround the image with <center> and spaces at the beginning, </center> and spaces @ the end! if u dont want to put any text after that, do the line break tag right after you end center! its that simple!
boy i sure feel like i know alot for being 8 and youngest :P
i edited your post a bit. You can use HTML in your post :) this forum uses VBcode, so html will be shown as its actual code ~ mod
hcgirl, I thing h0llapiny0 means to ask how you get it in the exact center, what you said what just get it centered at the top:confusion ... well not necessarily the top, but wherever the code is.
MaGiCSuN
09-11-2003, 04:30 PM
try this:
<center>
<img src="image.gif" border="0" height="#" width="#" valign="middle">
</center>
or
<div align="center" valign="middle">
<img src="image.gif" border="0" height="#" width="#">
</div>
or
<div valign="middle">
<center>
<img src="image.gif" border="0" height="#" width="#">
</center>
</div>
Love,
Mirna
h0llapiny0
09-12-2003, 12:46 AM
Hey, thanks for all the suggestions, but for some reason, none of them worked! I don't know, this is SO confusing...if anyone has anything, please let me know!
What about putting it in a table? That might work.
Or try putting <P ALIGN=Center> before you link to your image.
Any good?