MozTW 討論區

各項 Mozilla 相關軟體與技術討論
現在的時間是 2025-08-23, 02:26

所有顯示的時間為 UTC + 8 小時





發表新文章 回覆主題  [ 16 篇文章 ]  前往頁數 12  下一頁
發表人 內容
文章發表於 : 2004-12-20, 14:43 
我寫的頁框語法總不能支援FIREFOX...
Why?
我是要寫一個左和右頁框的網頁....
請教一教我怎樣去寫..
thanks...[/code]


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.7.5) Gecko/20041119 Firefox/1.0
  
引用回覆  
 文章主題 :
文章發表於 : 2004-12-20, 14:46 
離線

註冊時間: 2004-06-23, 12:28
文章: 232
貼你用的語法上來看看, 或許是你用錯了方法了.


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
 個人資料  
引用回覆  
 文章主題 :
文章發表於 : 2004-12-20, 14:52 
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="xxx2" name="leftFrame" scrolling="NO" noresize>
<frame src="xxx.htm" name="mainFrame">
</frameset>


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.7.5) Gecko/20041119 Firefox/1.0
  
引用回覆  
 文章主題 :
文章發表於 : 2004-12-20, 14:53 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>xxx</title>
</head>
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="xxx2" name="leftFrame" scrolling="NO" noresize>
<frame src="xxx.htm" name="mainFrame">
</frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.7.5) Gecko/20041119 Firefox/1.0
  
引用回覆  
 文章主題 :
文章發表於 : 2004-12-20, 15:12 
help


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.7.5) Gecko/20041119 Firefox/1.0
  
引用回覆  
 文章主題 :
文章發表於 : 2004-12-20, 15:14 
你遇到的是怎樣的問題阿?

我都很正常阿.
我修改你的成為這樣,可以很正常顯示.

--------------------------------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>xxx</title>
</head>
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="http://www.yahoo.com.tw" name="leftFrame" scrolling="NO" noresize>
<frame src="http://www.yahoo.com.tw" name="mainFrame">
</frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>
---------------------------------

hkwebsite 寫:
help


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.7.5) Gecko/20041111 Firefox/1.0 (JTw)
  
引用回覆  
 文章主題 :
文章發表於 : 2004-12-20, 16:07 
Anonymous 寫:
你遇到的是怎樣的問題阿?

我都很正常阿.
我修改你的成為這樣,可以很正常顯示.

--------------------------------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>xxx</title>
</head>
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="http://www.yahoo.com.tw" name="leftFrame" scrolling="NO" noresize>
<frame src="http://www.yahoo.com.tw" name="mainFrame">
</frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>
---------------------------------

hkwebsite 寫:
help

check html4.01 not pass


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.7.5) Gecko/20041119 Firefox/1.0
  
引用回覆  
 文章主題 :
文章發表於 : 2004-12-20, 16:17 
這當然不正常阿, 因為格式根本不會.
http://www.chrispederick.com/work/firefox/webdeveloper/

下載, Web Developer.

可以幫你驗證這份 HTML 是否符合規格.
以及指出哪邊出錯.

jamie 寫:
Anonymous 寫:
你遇到的是怎樣的問題阿?

我都很正常阿.
我修改你的成為這樣,可以很正常顯示.

hkwebsite 寫:
help

check html4.01 not pass


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.7.5) Gecko/20041111 Firefox/1.0 (JTw)
  
引用回覆  
 文章主題 :
文章發表於 : 2004-12-20, 22:52 
<frameset cols="80,*" frameborder="no" border="0" framespacing="0">

frameborder="no" border="0" framespacing="0">
不能通過w3c,怎樣改呢?


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.7.5) Gecko/20041119 Firefox/1.0
  
引用回覆  
 文章主題 : 還有呢!
文章發表於 : 2004-12-20, 22:58 
hkwebsite 寫:
<frameset cols="80,*" frameborder="no" border="0" framespacing="0">

frameborder="no" border="0" framespacing="0">
不能通過w3c,怎樣改呢?

Below are the results of attempting to parse this document with an SGML parser.

1.

Line 8, column 15: there is no attribute "COLS"

<frameset cols="80,*" frameborder="no" border="0" framespacing="0">

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.


2.

Line 8, column 34: there is no attribute "FRAMEBORDER"

<frameset cols="80,*" frameborder="no" border="0" framespacing="0">


3.

Line 8, column 46: there is no attribute "BORDER"

<frameset cols="80,*" frameborder="no" border="0" framespacing="0">


4.

Line 8, column 63: there is no attribute "FRAMESPACING"

... cols="80,*" frameborder="no" border="0" framespacing="0">


5.

Line 8, column 66: element "FRAMESET" undefined

..."80,*" frameborder="no" border="0" framespacing="0">

You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element), or by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).


6.

Line 9, column 11: there is no attribute "SRC"

<frame src="left.htm" name="leftFrame" scrolling="NO" noresize>


7.

Line 9, column 27: there is no attribute "NAME"

<frame src="left.htm" name="leftFrame" scrolling="NO" noresize>


8.

Line 9, column 49: there is no attribute "SCROLLING"

<frame src="left.htm" name="leftFrame" scrolling="NO" noresize>


9.

Line 9, column 62: "NORESIZE" is not a member of a group specified for any attribute

...src="left.htm" name="leftFrame" scrolling="NO" noresize>


10.

Line 9, column 62: element "FRAME" undefined

...src="left.htm" name="leftFrame" scrolling="NO" noresize>


11.

Line 10, column 39: element "FRAME" undefined

<frame src="right.htm" name="mainFrame">


12.

Line 12, column 10: end tag for element "FRAMESET" which is not open

</frameset>

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

If this error occured in a script section of your document, you should probably read this FAQ entry.


13.

Line 13, column 15: document type does not allow element "BODY" here

<noframes><body>

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.7.5) Gecko/20041119 Firefox/1.0
  
引用回覆  
 文章主題 :
文章發表於 : 2004-12-23, 21:26 
離線
[MozTW 版主群]
頭像

註冊時間: 2003-09-15, 03:47
文章: 1016
來自: Taiwan
add
代碼:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">

as the first line of your code

_________________
Y!知識70點:引言轉文平行置中英文音節區別


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041122
 個人資料  
引用回覆  
 文章主題 :
文章發表於 : 2007-01-20, 00:46 
離線

註冊時間: 2005-04-25, 18:44
文章: 166
hkwebsite 寫:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>xxx</title>
</head>
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="xxx2" name="leftFrame" scrolling="NO" noresize>
<frame src="xxx.htm" name="mainFrame">
</frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>


嗯...沒人覺得他只有一個<frameset>卻要兩個</frameset>很奇怪嗎??XD
關於標準的frame用法請參照W3C文件
http://www.w3.org/TR/html401/present/fr ... f-NOFRAMES
所以<noframes>裡面不應該有<body>的...


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.8.1.1) Gecko/20061223 Firefox/2.0.0.1
 個人資料  
引用回覆  
 文章主題 :
文章發表於 : 2007-10-04, 14:05 
JackieKu 寫:
所以<noframes>裡面不應該有<body>的...

更正確的說法是當此page使用
代碼:
<frameset></frameset>
時根本就不該有
代碼:
<body></body>
的存在
為何要使用Framset!?
這類DTD已算是過渡性質
很少有人做這類的設計了


回頂端
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
  
引用回覆  
 文章主題 :
文章發表於 : 2007-10-05, 17:50 
離線
頭像

註冊時間: 2005-01-07, 15:55
文章: 947
來自: 我愛台妹
參考我N多年前的設計吧
http://tszkin.sillydog.com/mainpage.htm
是符合W3C標準的

_________________
郭采潔全新專輯《愛異想》,5月1日正式發售
放下你手上萬惡的搖控器,支持無敵珊寶妹!別轉來轉去,否則會得散光!
我的部落格


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
 個人資料  
引用回覆  
 文章主題 :
文章發表於 : 2007-10-13, 21:00 
離線

註冊時間: 2005-11-23, 15:12
文章: 291
來自: 呆玩
W3C html5 草書中已刪除 frame 相關 elements,果然是預料中的事。

有一個 element 有趣地 acronym 竟被刪除了,而建議以 abbr 取代,原因是這兩個容易讓人混淆,顯然有一個是多餘。但是問題是 ie6 沒支援 abbr ,那現在怎麼辦?該用什麼?擺明好像故意搞 ie 的樣子,明明刪掉 abbr 就好了嘛! :P

_________________
時間,人為與自然的衝突。~不惑仔


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
 個人資料  
引用回覆  
顯示文章 :  排序  
發表新文章 回覆主題  [ 16 篇文章 ]  前往頁數 12  下一頁

所有顯示的時間為 UTC + 8 小時


誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 12 位訪客


不能 在這個版面發表主題
不能 在這個版面回覆主題
不能 在這個版面編輯您的文章
不能 在這個版面刪除您的文章
不能 在這個版面上傳附加檔案

搜尋:
前往 :  
Powered by phpBB® Forum Software © phpBB Group
正體中文語系由 竹貓星球 維護製作
© moztw.org, Mozilla Foundation
MozTW,Mozilla 台灣社群