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]
|