View Full Version : Get in line soldier!


>LK<
10-25-2003, 09:04 PM
I am redesigning my site and I have a picture I use for a little enter image and I want it to be in the exact center on any resolution or window size. I have it aligned with the align tag so it is centered horizontaly but how do I center it verticaly?


I don't care how complicated the solution is as I have been working with html and css for a while.

Thanks in advance:
LK

Arc Angel
10-25-2003, 09:30 PM
you could try:
style="position:absolute; left:50%; top:50%;"

kittycat
10-25-2003, 09:32 PM
The image inside a simple table with valign and align set to center could work as well.

>LK<
10-25-2003, 11:33 PM
Thanks arc angel. I used your cause it looked the easiest and it was:p

I also tried the table one but was un succesful. I don't think you can set the valign to center.

I used style="position:absolute; left:35%; top:35%;"


Thank again for your help.

>LK<
10-25-2003, 11:46 PM
I have one last question....


How can I add a custom font to my site? I've seen it done before I just don't know how to do it.

bejayel
10-26-2003, 01:09 AM
http://www.tutorgig.com/showurls.jsp?group=5423&index=0

this place might have something on it somewhere... either way it says how to make a font, so it must have somewhere how to embed it into a website..