Heim >Backend-Entwicklung >PHP-Tutorial >关于加载frameset空白的问题,求帮忙!!谢谢!!
我打算用frameset来做后台,用header(index.php?p=back&c=Index&a=index)跳转frameset页面,可是此时的frameset的代码多了好几个没用的代码 nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
求大哥们帮帮我谢谢了
请问你frameset制定页面,有没系那是内容?
有没显示内容?
HTML代码如下,用EditPlus保存utf8的html:
<!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" xml:lang="zh-cn"><head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>网页标题</title> <meta name="keywords" content="关键字列表" /> <meta name="description" content="网页描述" /> <link rel="stylesheet" type="text/css" href="" /> <style type="text/css"></style> <script type="text/javascript"> if (window.top != window) { window.top.location.href = document.location.href; } </script></head><frameset rows="76,*" framespacing="0" border="0"> <frame src="index.php?p=back&c=Index&a=top" id="header-frame" name="header-frame" frameborder="no" scrolling="no"> <frameset cols="180, 10, *" framespacing="0" border="0" id="frame-body"> <frame src="index.php?p=back&c=Index&a=menu" id="menu-frame" name="menu-frame" frameborder="no" scrolling="yes"> <frame src="index.php?p=back&c=Index&a=drag" id="drag-frame" name="drag-frame" frameborder="no" scrolling="no"> <frame src="index.php?p=back&c=Index&a=main" id="main-frame" name="main-frame" frameborder="no" scrolling="yes"> </frameset></frameset></html>
网页标题 网页标题 网页标题 网页标题 网页标题 <!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" xml:lang="zh-cn"><head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>网页标题</title> <meta name="keywords" content="关键字列表" /> <meta name="description" content="网页描述" /> <link rel="stylesheet" type="text/css" href="" /> <style type="text/css"></style> <script type="text/javascript"> if (window.top != window) { window.top.location.href = document.location.href; } </script></head><frameset rows="76,*" framespacing="0" border="0"> <frame src="index.php?p=back&c=Index&a=top" id="header-frame" name="header-frame" frameborder="no" scrolling="no"> <frameset cols="180, 10, *" framespacing="0" border="0" id="frame-body"> <frame src="index.php?p=back&c=Index&a=menu" id="menu-frame" name="menu-frame" frameborder="no" scrolling="yes"> <frame src="index.php?p=back&c=Index&a=drag" id="drag-frame" name="drag-frame" frameborder="no" scrolling="no"> <frame src="index.php?p=back&c=Index&a=main" id="main-frame" name="main-frame" frameborder="no" scrolling="yes"> </frameset></frameset></html>
你的 index.php 是怎么写的?
<!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" xml:lang="zh-cn"><head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>网页标题</title> <meta name="keywords" content="关键字列表" /> <meta name="description" content="网页描述" /> <link rel="stylesheet" type="text/css" href="" /> <style type="text/css"></style> <script type="text/javascript"></script></head><body></body></html>