Re: Align pic
| From: | Jonathan | Date: | Thu, 30 Dec 2004 04:20:53 +0000 |
| Subject: | Re: Align pic | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205341@lists.php.net to get a copy of this message | ||
<table align="center">
"Labunski" <romans@skulme.lv> wrote in message
news:20041230030820.23083.qmail@pb1.pair.com...
> 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.