HTML框架集分为上下左右的问题

gengse 2011-04-16 03:35:42
left高度为500宽度为200,main和left高度一样,宽度为800,buttom高度为100。
请问怎么建呢? 我新建的问题出在
1、不能居中
2、中间部份即left和main部份高度无法设置

请问怎么建呢?
...全文
660 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
xiaoceng88 2011-04-16
  • 打赏
  • 举报
回复
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<frameset rows="80,*,80" frameborder="no" border="0" framespacing="0">
<frame src="UntitledFrame-2.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
<frameset cols="50%,*" border="1">
<frame src="Untitled-1.html" name="mainFrame" id="mainFrame" title="mainFrame" />
<frame src="../hh/UntitledFrame-5.html" name="main2Frame" id="main2Frame" title="main2Frame" />
</frameset>

<frame src="UntitledFrame-3.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" />
</frameset>
<noframes><body>
</body>
</noframes></html>
hongmei85 2011-04-16
  • 打赏
  • 举报
回复
这样?
<frameset rows="500,*" frameborder=1 border="0" framespacing="0" id="updownFrame" style ="border:#ccc 1px solid;">
<frameset cols="200,*" id="LeftRightFrame" frameborder=1>
<frame src="Sys/Menu.aspx" name="leftFrame" scrolling="no" noresize></frame>
<frame src="Sys/Desktop.aspx" name="main" scrolling="auto" id="frameright" noresize ></frame>
</frameset>
<frameset cols="200,*" id="LeftRightFrame" frameborder=1>
<frame src="Sys/LFooter.aspx" name="leftFrame" scrolling="no" noresize></frame>
<frame src="Sys/RFooter.aspx" name="main" scrolling="auto" id="frameright" noresize ></frame>
</frameset>
</frameset>
Acesidonu 2011-04-16
  • 打赏
  • 举报
回复
问题都问不清楚。
gengse 2011-04-16
  • 打赏
  • 举报
回复
这也只是三部份哪, 我需要上左右下的四个
xuyi0822 2011-04-16
  • 打赏
  • 举报
回复
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>

</head>
<frameset rows="*,100" frameborder=0 border="0" framespacing="0" id="updownFrame" style ="border:#ccc 1px solid;">
<frameset cols="200,*" id="LeftRightFrame" >
<frame src="Sys/Menu.aspx" name="leftFrame" scrolling="no" noresize></frame>
<frame src="Sys/Desktop.aspx" name="main" scrolling="auto" id="frameright" noresize ></frame>
</frameset>
<frame src="Sys/Footer.htm" scrolling="no" noresize></frame>
</frameset>
</html>

把*替换为你要的高度和宽度(*为自适应)

61,112

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧