Forum Moderators: open
<frameset rows="5,1*,32" frameborder="0" framespacing="0">
<frame src="http://www.example.com/home/home-border-top.php" name="border" noresize="noresize" scrolling="no" />
<frame src="home-news.html" name="content" noresize="noresize" scrolling="no" /><frameset cols="1*,431" frameborder="0" framespacing="0">
<frame src="http://www.example.com/home/home-border-bottom-1.php" name="copyright" noresize="noresize" scrolling="no" />
<frame src="http://www.example.com/mplayer/jab-creations-home-choose.htm" name="mplayer" noresize="noresize" scrolling="no" />
</frameset>
</frameset>
[edited by: Woz at 9:26 am (utc) on Nov. 16, 2004]
[edit reason] examplified [/edit]
<frameset rows="5,1*,32">
<frame frameborder="0" marginwidth="0" marginheight="0" src="http://www.example.com/home/home-border-top.php" name="border" noresize="noresize" scrolling="no" /> I don't do any framed pages, but that should work, or at least be close.
[edited by: Woz at 9:28 am (utc) on Nov. 16, 2004]
[edit reason] examplified [/edit]
the other half is composed of cranky anti-frame people.
I'm guessing it's more than half. Framesets are out these days primarily because they are so SERP un-friendly.
To quote Google's Information For Webmasters [google.com]...
Reasons your site may not be included.
...
Your page uses frames. Google supports frames to the extent that it can. Frames tend to cause problems with search engines, bookmarks, emailing links and so on, because frames don't fit the conceptual model of the web (every page corresponds to a single URL). If a user's query matches the site as a whole, Google returns the frame set. If a user's query matches an individual page on the site, Google returns that page. That individual page is not displayed in a frame -- because there may be no frame set corresponding to that page.
1.) No one has nor (seems to have the) will to display full fledged examples of XHTML frames.
2.) Frames are only necessary until I become extremely proficient in flash
The reason I use frames is to allow music to play on my site while browsing and not opening up another window. Until I learn how to make a dynamic player that can make reference to CSS and use an admin playlist with javascript to interact with the player I'm going to have to use frames.
The only thing now that is not validating is the border="0" attribute which CSS has failed to cover unfortunitly. I tested css to remove the border with no luck.
Try this site for XHTML frame info:
[webdevfoundations.net...]
And another:
[academ.hvcc.edu...]
Searching will find some more, but as you've noticed frames are just not very popular anymore.
<frameset rows="5,1*,32" border="0">
<frame src="http://www.example.com/home/home-border-top.php" name="border" scrolling="no">
<frame src="home-news.html" name="content" noresize="noresize" scrolling="no"><frameset cols="1*,431" border="0">
<frame src="http://www.example.com/home/home-border-bottom-1.php" name="copyright" noresize="noresize" scrolling="no">
<frame src="http://www.example.com/mplayer/jab-creations-home-choose.htm" name="mplayer" noresize="noresize" scrolling="no">
</frameset>
</frameset>
[edited by: Woz at 9:35 am (utc) on Nov. 16, 2004]
[edit reason] examplified [/edit]
<!ELEMENT frameset (frameset¦frame¦noframes)*>
<!ATTLIST frameset
%coreattrs;
rows %MultiLengths; #IMPLIED
cols %MultiLengths; #IMPLIED
onload %Script; #IMPLIED
onunload %Script; #IMPLIED
><!ELEMENT frame EMPTY>
<!ATTLIST frame
%coreattrs;
longdesc %URI; #IMPLIED
name NMTOKEN #IMPLIED
src %URI; #IMPLIED
frameborder (1¦0) "1"
marginwidth %Pixels; #IMPLIED
marginheight %Pixels; #IMPLIED
noresize (noresize) #IMPLIED
scrolling (yes¦no¦auto) "auto"
>
<frameset rows="5,1*,32" border="0">
<frame src="http://www.example.com/home/home-border-top.php" frameborder="0" name="border" scrolling="no">
<frame src="home-news.html" frameborder="0" name="content" noresize="noresize" scrolling="no"><frameset cols="1*,431" border="0">
<frame src="http://www.example.com/home/home-border-bottom-1.php" frameborder="0" name="copyright" noresize="noresize" scrolling="no">
<frame src="http://www.example.com/mplayer/example-home-choose.htm" frameborder="0" name="mplayer" noresize="noresize" scrolling="no">
</frameset>
</frameset>
[edited by: BlobFisk at 3:51 pm (utc) on Nov. 16, 2004]
[edit reason] No Specifics Allowed - use example.com please. [/edit]
You've got it down to one inconsequential error for an unrecognized attribute, which I would consider to be quite sufficient.
Frames are riddled with usability and accessibility caveats anyway, so there are very few supporters of standards who would use them - hence the impoverished spec. I rarely use frames unless absolutely vital, and whereas I like to have valid pages everywhere, I don't bother with attempting to validate the framesets or even adding a doctype.
frameborder="0" in the frame tag works and the page validates...pause... now there is framespacing and framespacing does not validate... How can I remove the framespacing and have it validate now?