主要注意的是:1、删除<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">2、用Div来控制样式 <div style="overflow: auto;width: 100%; height: 99%;" >效果如图:主框架代码: <!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 id="Head1" runat="server"> <title>套帧</title></head><frameset cols="350,*" id="myFrame" border="1" frameborder="1" framespacing="0" > <frameset rows="110,*"> <frame name="leftTop" id="leftTop" src="#" scrolling="no" target="right" /> <frame name="leftContent" id="leftContent" src="######" scrolling="auto" target="_self" /> </frameset> <frameset id="contentFrame" rows="*,50"> <frame name="rightContent" id="rightContent" src="#" scrolling="auto" target="right" /> <frame name="rightBottom" id="rightBottom" src="#" scrolling="auto" target="_self" /> </frameset></frameset></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>Untitled Page</title> </head><body > //加一个Div来控制样式 <div style="overflow: auto;width: 100%; height: 99%;" >> 相关文章: 2022-12-23 2021-06-22 2022-12-23 2021-12-04 2022-12-23 2021-06-19