You are here: Vertical align image within a DIV in IE? « HTML « IT news, forums, messages
Vertical align image within a DIV in IE?

Posted by Paul Lautman on 04/03/06 01:44

I know that this has been asked many times but I cannot find a definitive
answer to it.

I have the following css and html and I would like to have a couple of
images vertically aligned within the div.

Can anyone point me to a decent incarnation for it?

#header {
float: left;
padding: 0px;
margin-right: 2px;
width: 635px;
height: 150px;
vertical-align: middle;
}

<div id="header">
<img src="images/newbadge2.gif" alt=""/>
</div>

TIA
Paul

 

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

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