doujuanqi2909 2019-08-05 09:46
浏览 29

在我的PHP页面加载时图像有问题

I have a login page , where above the login box, a small image will is displayed below logo.png as register.png, the html is below:

<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000">
  <tr>
    <td>&nbsp;</td>
    <td colspan="2"><div align="center"><img src="images/logo.png" alt="" width="378" height="90" class="picture" /></div></td>

    <td>&nbsp;</td>
  </tr>
  <tr>
    <td width="7%">&nbsp;</td>
    <td width="42%"><div class="login-box">
<div class="login-border">
<div class="login-style">
    <div class="login-header">
        <div class="logo clear">
            <div align="center" style="margin-top:10px;"><img src="images/register.png" alt="" width="235" height="29" /></div>
        </div>
    </div>

the logo.png is displaying, but the register.png is not displaying, the height and width and all are correct.
Can anyone tell what's wrong with my code ?

  • 写回答

2条回答 默认 最新

  • doupeng8419 2019-08-05 10:00
    关注

    check you last closing tag. It is missing over here.

    Also try to use exact path if it does not work properly.

    Ex C:\laragon\www\path-to-your-file

    Ensure the file type is also same .png .jpg might be one cause too

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在炒股软件中,爬到我想看的日k线
  • ¥15 51单片机中C语言怎么做到下面类似的功能的函数(相关搜索:c语言)
  • ¥15 seatunnel 怎么配置Elasticsearch
  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序
  • ¥15 多址通信方式的抗噪声性能和系统容量对比
  • ¥15 winform的chart曲线生成时有凸起