表图像查看器

时间:2017-02-08 03:50:05

标签: html css

我想水平排列添加的图像。什么是CSS?请建议。

<div id="image-viewer">
<table>
    <?php 
    foreach(glob('../images/projects/'.'*') as $filename){
    //echo $filename;
    ?>
    <tr>
        <td><img src="<?php echo $filename; ?>" height="150" width="200"></td></tr>
        <tr>
        <td height="34"><a href="projects-body-img.php?id=<?php echo $filename; ?>" onclick="return confirm('Do you really want to delete?');">Delete</a></td>

    </tr>
    <?php

    ?>
    <?php } ?>

</table>

0 个答案:

没有答案