居中之类的吗?
<align=center>...</align>

解决方案 »

  1.   

    用dreamweaver之类的可视化编辑软件,在想放图片的位置的代码处输入
    <img src=xxxx(图片路径)
      

  2.   

    比如我在image.php中创建了一个画图程序.在页面调用时希望图象出现在页面的最下方或最上方
      

  3.   

    可以在页面上方的位置包含进来或者注明图像位置啊
    <?
    include("文件路径");
    ?>

    <?
    echo "<img src='文件路径'>";
    ?>
      

  4.   

    <?php
    header("Content-type:image/png");//申明图象类型
    $im=imagecreate(750,40) or die("Cannot Imitalize new GD image stream");//绘制空白画布用象素确定宽高
    $background_color=ImageColorallocate($im,255,255,255,255);
    $fill_color=ImageColorAllocate($im,243,143,179);
    ImageFill($im,0,0,$fill_color);
    $white = ImageColorAllocate($im, 255,255,255);
    ImageLine($im,0,3,750,3,$white);
    ImageLine($im,0,6,750,6,$white);
    ImageLine($im,0,34,750,34,$white);
    ImageLine($im,0,37,750,37,$white);
    Imagepng($im);
    ?>//图像image.php
    <?
    <html><head>
      <title></title>
    <img src="image.php">
    </head>
    <body>
    <??>
    </body>
    <img src="image.php">
    </html>
    ---调用如何写要求显示结果分别一个在上一个在下
    ?>
    还有图像如何显示中文
      

  5.   

    试试LAYER的用法吧,用DREAMWEAVER,将显示图象的那段代码放在指定层里面
      

  6.   

    中文的问题不知如何解决,排版的问题这样吧
    <?//info.php
    Header("Content-type: image/png");
    $im = imagecreate(400,30);
    $black = ImageColorAllocate($im, 0,0,0);
    $white = ImageColorAllocate($im, 255,255,255);
    imageline($im, 1, 1, 350, 25, $black);
    imagearc($im, 200, 15, 20, 20, 35, 190, $white);
    imagestring($im, 5, 4, 10, "testit", $white);
    Imagepng($im);
    ImageDestroy($im);
    ?>以下为调用文件:info2.php
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </head><body bgcolor="#FFFFFF" text="#000000">
    <table width="95%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>1</td>
        <td>2</td>
      </tr>
      <tr>
        <td> 
    <div align="center">
    <?
    echo "<img src=info.php>";
    ?>
    </div>
        </td>
        <td>4</td>
      </tr>
    </table>
    </body>
    </html>自己看看如何排版,OK?