|
首页>编程技术>HTML语言与技术> |
分不高,但是问题很棘手,希望大家能帮忙解答一下(关于框架的问题) |
|
Visited times , Welcome to Data Mining Forum & Data Mining Expert |
|
|
|
本文由网龙AE产品自动生成 index.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN "> <html> <head> <title> sports首页 </title> <meta http-equiv= "keywords " content= "keyword1,keyword2,keyword3 "> <meta http-equiv= "description " content= "this is my page "> <meta http-equiv= "content-type " content= "text/html; charset=UTF-8 "> <link rel= "stylesheet " type= "text/css " href= "css/skin.css "> </head> <frameset frameSpacing=0 rows=90,*,0 frameBorder=0 > 数据挖掘研究院 <frame id=header name=header src= "header.html " frameBorder=0 noResize scrolling=no width= "100 " /> <frame id=Content name=Content src= "content.html " scrolling=yes/> <frame id=footer name=footer src= " " scrolling=no noResize /> <noframes> </noframes> </frameset> </html> -------------------------------------------------------------------------- header.html <html> <style> #div1{ background: #cccccc; height=90; } </style> <div id=div1> <h1> HEADER </h1> </div> </body> </html> -------------------------------------------------------------------------- 数据挖掘交友 content.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN "> <html> <head> <title> content页面 </title> <meta http-equiv= "keywords " content= "keyword1,keyword2,keyword3 "> <meta http-equiv= "description " content= "this is my page "> <meta http-equiv= "content-type " content= "text/html; charset=UTF-8 "> <style> *.{ margin: 0px; padding: 0px; } #a { float: left; } </style> <script type= "text/javascript "> 数据挖掘交友 </script> </head> <div id= "a " style= "width: 183px; "> <iframe width= "100% " height= "1600px " id=menu name=menu src= "menu.html " frameBorder=0 noResize scrolling=no> </iframe> </div> <iframe width= "100% " height= "1600px " id=main name=main src= "main.html " frameBorder=0 noResize scrolling=no> </iframe> </html> -------------------------------------------------------------------------- menu.html <html> <head> <title> menu </title> <style> #div1{ background: #bbbbbb; } </style> 数据挖掘论坛 </head> <body > <div id= "div1 "> <table width= "183 " height= "800 " border= "0 " cellpadding= "0 " cellspacing= "0 " > table1 </table> <div> </body> </html> -------------------------------------------------------------------------- main.html <html> <head> <title> menu </title> <style> #div1{ background: #bbbbbb; } </style> </head> <body > <div id= "div1 "> <table width= "1500 " height= "800 " border= "0 " cellpadding= "0 " cellspacing= "0 "> table111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 数据挖掘实验室 </table> <div> </body> </html> 为什么main中的数据没有完全显示?怎么解决!!!(滚动条自适应) main.html <div id= "div1 " style= "width:100%;overflow:auto; "> 试试看为什么main中的数据没有完全显示?怎么解决!!!(滚动条自适应) -------------------------------------------------------------------- 有没有滚动条?? 如果有的话那不应该啊,框架只是把原有的页面嵌入应该显示啊,是不是你的那个包含框架的页面设置问题! <div id= "a " style= "width: 183px; "> <iframe width= "100% " height= "1600px " id=menu name=menu src= "menu.html " frameBorder=0 noResize scrolling=no> </iframe> </div> <iframe width= "100% " height= "1600px " id=main name=main src= "main.html " frameBorder=0 noResize scrolling=no> </iframe> 数据挖掘交友 这段代码有问题, 你要么用2个DIV分别包着2个IFRAME,要么用FRAMESET包一下。 你这样写肯定出问题!至于滚动条则是你scrolling=no这个设置了不出现滚动条
|
|
|
|
|
[数据挖掘专家]
[数据挖掘研究院]
[数据挖掘论坛]
[数据挖掘实验室]
|
上一篇:高水平美工 给我的页面
下一篇:我的新版博客,不过有点小问题,大家看看
|
|
|
|