Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to center small image in center of screen.

Status
Not open for further replies.

saw15

Technical User
Jan 24, 2001
468
US
I am trying to center a small image in the middle of page regardless of screen resolution.

In short, we are using a company logo and a english and spanish button below it.

I handle the left & right centering with a :
<div align="center">

But how do I handle the top and bottom centering? I know I can add <br> etc, but if the screen resolution changes it won't stay centered.

Sorry to be so simple, but never really had to do this before.

Help is appreciated.
 
Disregard, i got it using align and valign in the <td>.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top