Re: Re: Align pic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



or just use css, set it to the background image of the body and use
background-position: center center;

On Wed, 2004-12-29 at 20:20, Jonathan wrote:
> <table align="center">
> 
> 
> 
> "Labunski" <romans@xxxxxxxxx> wrote in message
> news:20041230030820.23083.qmail@xxxxxxxxxxxxxxx
> > Sorry for posting this here,
> > but this is only newsgroup I'm using, and I can't solve simple HTML
> problem.
> > yeah, it's funny, but still.. ;)
> >
> > I need to center image on the blank screen without using javascript.
> > - so I wrote:
> >
> > <table width="100%" height="100%">
> > <tr>
> > <td width="100%" height="100%" align="center" valign="middle">
> > <img src="logo.jpg">
> > </td>
> > </tr>
> > </table>
> >
> > this should work, but it's not.
> > now the image is centered horizontally, but I need it vertically, too.
> > what to do?
> >
> > Thank you,
> > Lab.
-- 
Regards,
Matthew Fonda

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux