框架问题:1、框架的边框样式:
我的框架边框看起来总是凸出来的,很不舒服,能不能像CSDN一样,让人感觉很平稳,不凸也不凹,请问有这样的样式属性吗?谢谢!2、框架头部的导航栏内容如何自动缩放?我窗口一缩小点,我的导航菜单内容就看不见了,必须要最大化才能看见全部菜单!附:我的框架集:
<frameset rows="20%,80%" framespacing="0" border="0" bordercolor="#e8ffe8">
<frame src="URTop.aspx" name="top" scrolling="no" marginhight="5" marginwidth="5" noresize>
<frameset cols="18%,82%" framespacing="2" border="1" frameborder="yes" bordercolor="#e8ffe8">
<frame src="URMain.aspx" name="main">
<frame src="URContent.aspx" name="content">
</frameset>
</frameset>我的导航菜单内容:
<body bgcolor="#e8ffe8">
<form id="form1" runat="server">
<table style="width:100%;height:100%" align="center" cellpadding="0" cellspacing="1">
<tr width = 100%; height = 20%>
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr height = "80%" width = "100%">
<td nowrap="nowrap" height = "92" width = "100"><embed src="URImage/URClock.swf" height = "92" width = "100"></embed></td>
<td nowrap="nowrap" height = "92" width = "890"><img src="URImage/URCSIMIS.gif"></td>
</tr>
</table>
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr height = "20%" width = "100%">
<td height="10" nowrap="nowrap"><div align="center"><div id="time" style="font-size:small">
<script type="text/javascript">setInterval("time.innerHTML=(new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay())).substr(0,24);",1000);
</script></div></div>
</td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="URIndex.html" target="_parent">网站首页</a></font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="URBaseInfo/URBaseInfo.aspx" target="main">基础信息</a></font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="URPubDic/URPubDic.aspx" target="main">公用字典</a></font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="URLocalDic/URLocalDic.aspx" target="main">本地字典</a></font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="UR_JKDA/UR_JKDA.aspx" target="main">健康档案管理</font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="UR_JKBJ/UR_JKBJ.aspx" target="main">健康保健管理</font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="UR_JHSY/UR_JHSY.aspx" target="main">计划生育管理</font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="UR_JBGL/UR_JBGL.aspx" target="main">疾病管理</font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="UR_JBYF/UR_JBYF.aspx" target="main">疾病预防管理</font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="URDoc/URHelp.aspx" target="main">在线帮助</a></font></div></td>
</tr>
</table>
</tr>
<tr width = 100%; height = 80%>
<td width = 20%; height = 100% style="text-align: left; vertical-align: top;">
</td>
<td width = 80%; height = 100%>
</td>
</tr>
</table>
<tr width = 100%; height = 60%>
<td width = 20%; height = 100% style="text-align: left; vertical-align: top;">
</td>
<td width = 80%; height = 100%>
</td>
</tr>
</form>
</body>谢谢大家真诚帮助!
我的框架边框看起来总是凸出来的,很不舒服,能不能像CSDN一样,让人感觉很平稳,不凸也不凹,请问有这样的样式属性吗?谢谢!2、框架头部的导航栏内容如何自动缩放?我窗口一缩小点,我的导航菜单内容就看不见了,必须要最大化才能看见全部菜单!附:我的框架集:
<frameset rows="20%,80%" framespacing="0" border="0" bordercolor="#e8ffe8">
<frame src="URTop.aspx" name="top" scrolling="no" marginhight="5" marginwidth="5" noresize>
<frameset cols="18%,82%" framespacing="2" border="1" frameborder="yes" bordercolor="#e8ffe8">
<frame src="URMain.aspx" name="main">
<frame src="URContent.aspx" name="content">
</frameset>
</frameset>我的导航菜单内容:
<body bgcolor="#e8ffe8">
<form id="form1" runat="server">
<table style="width:100%;height:100%" align="center" cellpadding="0" cellspacing="1">
<tr width = 100%; height = 20%>
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr height = "80%" width = "100%">
<td nowrap="nowrap" height = "92" width = "100"><embed src="URImage/URClock.swf" height = "92" width = "100"></embed></td>
<td nowrap="nowrap" height = "92" width = "890"><img src="URImage/URCSIMIS.gif"></td>
</tr>
</table>
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr height = "20%" width = "100%">
<td height="10" nowrap="nowrap"><div align="center"><div id="time" style="font-size:small">
<script type="text/javascript">setInterval("time.innerHTML=(new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay())).substr(0,24);",1000);
</script></div></div>
</td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="URIndex.html" target="_parent">网站首页</a></font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="URBaseInfo/URBaseInfo.aspx" target="main">基础信息</a></font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="URPubDic/URPubDic.aspx" target="main">公用字典</a></font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="URLocalDic/URLocalDic.aspx" target="main">本地字典</a></font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="UR_JKDA/UR_JKDA.aspx" target="main">健康档案管理</font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="UR_JKBJ/UR_JKBJ.aspx" target="main">健康保健管理</font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="UR_JHSY/UR_JHSY.aspx" target="main">计划生育管理</font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="UR_JBGL/UR_JBGL.aspx" target="main">疾病管理</font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="UR_JBYF/UR_JBYF.aspx" target="main">疾病预防管理</font></div></td>
<td height="10" nowrap="nowrap"><div align="center"><font size="2"><a href="URDoc/URHelp.aspx" target="main">在线帮助</a></font></div></td>
</tr>
</table>
</tr>
<tr width = 100%; height = 80%>
<td width = 20%; height = 100% style="text-align: left; vertical-align: top;">
</td>
<td width = 80%; height = 100%>
</td>
</tr>
</table>
<tr width = 100%; height = 60%>
<td width = 20%; height = 100% style="text-align: left; vertical-align: top;">
</td>
<td width = 80%; height = 100%>
</td>
</tr>
</form>
</body>谢谢大家真诚帮助!
解决方案 »
- 请确保此代码文件中定义的类与“inherits”属性匹配并且该类扩展的基类(例如 Page 或 UserControl)是正确的
- [玻璃鱼V]DataList数据绑定的问题
- 求助,如何在vs2003里用ctrl+f弹出的查找框 一次替换多行文字?
- 百分问个正则表达式的问题,急~~~
- vs2003 datetime问题!
- 未将对象引用设置到对象的实例错误
- 只想datagrid显示一列,可是显示了两列,究竟错在哪里?
- 弹出页面问题!
- MemoryStream的GetBuffer报错,无法访问 MemoryStream 的内部缓冲区
- 难题求解:如何能把这个base64字串转化成原来的真面目?高分救命
- session
- 一个数据库连接的奇怪问题
===========================
那中间的颜色是白的,怎么换颜色?是哪个属性?
===========================
也就是说不设置边框,把间距设置宽点达到效果,那么间距颜色默认是白的,如何调整间距的颜色呢?第二个问题哪位大虾帮忙解决一下啊?谢谢!
<frame src="URContent.aspx" name="content">换成 <iframe ...></iframe>
<frameset rows="20%,80%" framespacing="0" frameborder="0">
<frame src="URTop.aspx" name="top" scrolling="no" marginhight="5" marginwidth="5" noresize>
<frameset cols="18%,82%" framespacing="5" frameborder="0" frameborder="yes">
<frame src="URMain.aspx" name="main">
<frame src="URContent.aspx" name="content">
</frameset>
</frameset>
第一个问题基本解决,就是不知道如何把框架间距framespacing的颜色更换掉,肯请各位帮忙,谢谢~
<frameset rows="20%,80%" framespacing="0" frameborder="NO" border="0" bordercolor="#e8ffe8">
<frame src="URTop.aspx" name="top" frameborder="NO" scrolling="no" marginhight="5" marginwidth="5" noresize>
<frameset cols="18%,82%" framespacing="2" border="1" frameborder="yes" bordercolor="#e8ffe8">
<frame src="URMain.aspx" name="main">
<frame src="URContent.aspx" name="content">
</frameset>
应该是 孙子兵法请进群
有问题问你
<frame src="URContent.aspx" name="content">换成 <iframe ...></iframe>
=============================
那就什么都没了~
frame和iframe有什么区别啊?
================================
frameborder已经是no了,我把framespacing改成了5,是有平稳的效果,可是中间的是白色,而CSDN的是蓝色,frameborder为no,那么bordercolor也就没用了,颜色改不了,怎么办啊?
<frame src="URContent.aspx" name="content"> 要显不出来就不知道了