You are here: Re: setting height and width « All PHP « IT news, forums, messages
Re: setting height and width

Posted by J.O. Aho on 09/26/06 03:49

Nospam wrote:
> If I wanted to set the height and width for a php script, would a straight
> forward inclusion of the height and width, as in img scr work? e.g:
>
> <?php include_once('sample.php'); width="50" height="100" ?>

<table style="width : 50px; height : 100px">
<tr><td>
<?PHP include_once('sample.php'); ?>
</td></tr>
</table>

You can't tell the PHP how big it's output will be, you need to set it inside
a table and define how big the table will be (you can also use frame and
iframe to do this).


//Aho

 

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

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