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

Posted by Paul Lautman on 04/03/06 12:04

Neredbojias wrote:
> To further the education of mankind, "Paul Lautman"
> <paul.lautman@btinternet.com> declaimed:
>
>> 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
>
> If you want them dynamically v|aligned, you need a table.
>
> http://www.neredbojias.com/zyxix/vcsc/vcsc.html

The whole template is built with DIVs. I had already tried puting a table
into this particular div but then it totally cocked up the vertical height
of the DIV.

 

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

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