You are here: How can I make an image appear in the centre of the page? « HTML « IT news, forums, messages
How can I make an image appear in the centre of the page?

Posted by Ant on 08/10/05 02:18

Hi,

I'm trying to make the image appear in the centre of the page no matter what
the resolution is.

I had the idea of creating a 1*1 table whose dimensions were the size of the
viewable browser area and then centering the image in that but I'm running
into some problems.

Then I had the idea of setting the IMG hspace and vspace attributes but then
I realised that they would need ot be dynamically calculated.

So am I missing an obvious method?

If so then please enlighten me!

Cheers

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация