包含.css的网页,为什么在netsape中报错

getnull 2002-09-23 06:47:16
当我用netsape浏览包含.css的网页时,为什么浏览器的url自动执行.css啊,而不显示网页?
请高手给指定,如果解决,才能显示正常的网页啊!!
...全文
37 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
孟子E章 2002-09-23
  • 打赏
  • 举报
回复
应该没有问题,是不是你的css文件本身有问题啊
方工 2002-09-23
  • 打赏
  • 举报
回复
写法不正规,而IE太宽宏大量。
link似乎应当在框架所包含的网页内。
frameset与noframes元素互相交叉。

<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title>开发银行WEB</title>
</head>
<frameset rows="26,*" frameborder="0">
<frame name="top" scrolling="no" noresize target="contents" src="/pathweb/web/top.htm">
<frameset cols="155,*" frameborder="0">
<frame name="contents" noresize target="main" src="/pathweb/web/menu.htm">
<frame name="main" src="/pathweb/web/welcome.jsp">
</frameset>
</frameset>
<noframes>
<p>此网页使用了框架,但您的浏览器不支持框架。</p>
</noframes>
</html>
getnull 2002-09-23
  • 打赏
  • 举报
回复
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="common.css">
<title>开发银行WEB</title>
</head>

<frameset rows="26,*" frameborder="0">
<frame name="top" scrolling="no" noresize target="contents" src="/pathweb/web/top.htm">
<frameset cols="155,*" frameborder="0">
<frame name="contents" noresize target="main" src="/pathweb/web/menu.htm">
<frame name="main" src="/pathweb/web/welcome.jsp">
</frameset>

<body>

<p>此网页使用了框架,但您的浏览器不支持框架。</p>

</body>
</noframes>
</frameset>

</html>

难道这样不可以吗?我在ie里面是可以的,但是在netsape里就不好用了
孟子E章 2002-09-23
  • 打赏
  • 举报
回复
把代码拿来。你没有用对。

87,994

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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