18910140161

CSS-如何在HTML表中显示<td>内的网页?-堆栈溢出

顺晟科技

2022-10-19 14:11:06

66

top.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Top Page</title>
  </head>
  <body bgcolor="yellow">
    <table border="0" width="100%">
      <tr>
        <td align="center" bgcolor="white">
          <img src="./Img/Logo.jpg" alt="logo" />
        </td>
        <td align="center" bgcolor="white">
          <h1 style="color: blue">Web Client Development</h1>
        </td>
        <td bgcolor="white" style="width: 500px; text-align: center">
          <p>
            <!-- <a href="./Forms/Pages/inputform.html" target="Content_Frame"
              >User <br />
              Logon</a
            > -->
            <a href="./Forms/Pages/userLogonForm.html" target=""
              >User <br />
              Logon</a
            >
          </p>
        </td>
      </tr>
    </table>
  </body>
</html>

在“用户登录”区域中,我希望打开一个userlogon.html,类似于

userlogon.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Top Page</title>
  </head>
  <body bgcolor="yellow">
    <table border="0" width="100%">
      <tr>
        <td align="center" bgcolor="white">
          <img src="./Img/Logo.jpg" alt="logo" />
        </td>
        <td align="center" bgcolor="white">
          <h1 style="color: blue">Web Client Development</h1>
        </td>
        <td bgcolor="white" style="width: 500px; text-align: center">
          <p>
            <!-- <a href="./Forms/Pages/inputform.html" target="Content_Frame"
              >User <br />
              Logon</a
            > -->
            <a href="./Forms/Pages/userLogonForm.html" target=""
              >User <br />
              Logon</a
            >
          </p>
        </td>
      </tr>
    </table>
  </body>
</html>

我的top.html有三个部分,一个是logo图像,第二个是普通标题,第三个是我想要显示我的表单的地方,它要求用户名和密码(userlogon.html) 问题是,当我单击User Logon区域时,它会扩展整个区域的userlogon.html页面(我想这三个区域都是这样),而我只想在第三个标记中显示userlogon.html表单。如何将大小固定为特定值

注意:对于整个网站,我使用框架集


顺晟科技:

  • TAG:
相关文章
我们已经准备好了,你呢?
2024我们与您携手共赢,为您的企业形象保驾护航