找回密码
 注册
搜索
热搜: 回贴
  • 前程无忧官网首页 有什么好的平台可以
  • 最新的销售平台 互联网营销的平台有哪
  • 制作网页的基本流程 网页制作和网页设
  • 【帝国CMS】输出带序号的列表(数字排
  • 网站建设公司 三一,中联,极东泵车的
  • 织梦 建站 织梦网站模版后台怎么更改
  • 云服务官网 哪些网站有免费的简历模板
  • 如何建网站要什么条件 建网站要用什么
  • 吉林市移动公司电话 吉林省退休人员网
  • 设计类毕业论文 网站设计与实现毕业论
查看: 147|回复: 2

如何设置让页面的高度随框架的内容变化而变化?

[复制链接]
发表于 2009-9-14 23:49:10 | 显示全部楼层 |阅读模式 IP:江苏扬州
代码如下
<%
t=request("t")
if t="" then
t=1
end if
%>
<head>
<!--#include file="head.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" href="inc/css.css" type="text/css">
<style type="text/css">
<!--
body {
    background-image: url(image/a_bg0001.gif);
    background-repeat: repeat;
    }
-->
</style>
<title>无锡</title>

</head>

<body>
<table width="782" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td valign="top" width="170" height="39"><img src="image/cp00.gif" width="170" height="39" /></td>
    <td width="612" rowspan="8" valign="bottom" background="image/xfz3.gif"><p align="center">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="570" height="170">
        <param name="movie" value="332.swf" />
        <param name="quality" value="high" />
        <embed src="332.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="570" height="170"></embed>
      </object>
    </p>      </td>
  </tr>
  <tr>
    <td valign="top" height="22"><img src="image/cp000.gif" width="170" height="22" /></td>
  </tr>
  <tr>
    <td valign="top" height="22"><a target="cp" href="fl1.asp"><img src="image/cp001.gif" width="170" height="22" border="0" /></a></td>
  </tr>
  <tr>
    <td valign="top" height="22"><a target="cp" href="fl2.asp"><img src="image/cp002.gif" width="170" height="22" /></td>
  </tr>
  <tr>
    <td valign="top" height="22"><a target="cp" href="fl3.asp"><img src="image/cp003.gif" width="170" height="22" /></td>
  </tr>
  <tr>
    <td valign="top" height="22"><a target="cp" href="fl4.asp"><img src="image/cp004.gif" width="170" height="22" /></td>
  </tr>
  <tr>
    <td valign="top" height="22"><a target="cp" href="fl5.asp"><img src="image/cp005.gif" width="170" height="22" /></td>
  </tr>
  <tr>
    <td valign="top" height="22"><a target="cp" href="fl6.asp"><img src="image/cp006.gif" width="170" height="22" /></td>
  </tr>
  <tr>
    <td valign="top" height="22"><a target="cp" href="fl7.asp"><img src="image/cp007.gif" width="170" height="22" /></td>
    <td width="612" rowspan="3" valign="top" background="image/xfz3.gif"><div align="left">    <img src="images/cp0.gif" width="483" height="34" /><% =t %><br />
      <br />
    </div></td>
  </tr>
  <tr>
    <td valign="top" height="22"><a target="cp" href="fl8.asp"><img src="image/cp008.gif" width="170" height="22" /></td>
  </tr>
  <tr>
    <td valign="top" height="37"><img src="image/cp111.gif" width="170" height="37" /></td>
  </tr>
  <tr>
    <td valign="top" background="image/leftmenu-bg.gif"><p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p></td>
    <td width="570" height="610" valign="top" background="image/000.jpg">
<iframe name="cp" height="700" width="570" src="fl<%=t%>.asp" border="0" frameborder="0">浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
  </tr>
</table>
</body>
<!--#include file="bottom.asp"-->
</html>

由于几个嵌如的几个页面(f1.asp  f2.asp  f3.asp等)高度不一而且差别很大,
如何设置才能让整个页面的高度随着框架里 的页面高度而自动调整呢?
即框架部分不出现滚动条也不至于闲置太多空白
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-29 15:26 , Processed in 0.188860 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表