View Full Version : positioning on the top, but in center


MoonliTxRosE
07-08-2004, 11:58 PM
i need to know how to position my picture on the top of the page, but in the center at the same time. I tryed putting center, top and top, center, but its not working ! I don't know what else to try, so can you help me?!?! and I need it F A S T !

christiandude03
07-09-2004, 12:00 AM
You mean center horizontally, right?

Did you try:

<center>image</center>

<img src="" align="center" />

<div align="center">
image tag
</div>

pb&j
07-09-2004, 05:15 AM
have you tried...

style="position:absolute; left:50%; top:0px;"

MaGiCSuN
07-09-2004, 12:49 PM
the css position code will make it start at the center, so the image is going offcenter in total :)

<center></center> is the easiest

Love,
Mirna