Forum Moderators: open

Message Too Old, No Replies

w3c validated framesets

         

Circuits

5:38 pm on Sep 22, 2003 (gmt 0)

10+ Year Member



I've had a page with 9 frames on it running happily for 2 years. I removed the borders on the frames by setting frameset=0 and border=0.

I've recently been validating some pages through w3c and I've been trying to get my frameset validated as either XHTML 1.0 Frameset or HTML 4.0 Frameset.

Neither of these accept the border attribute. These must be a way to switch off the frame border, but I can't find it.

Can anybody help?

g1smd

10:16 pm on Sep 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Are you setting the attributes on the FRAMESET or the FRAME?

Ryan8720

10:44 pm on Sep 22, 2003 (gmt 0)

10+ Year Member



In XHTML you should quote the attributes. frameset="0"

MonkeeSage

9:06 am on Sep 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<frameset cols="150,*">
<frame src="blah.htm" frameborder="0" />
</frameset>

Jordan

Circuits

5:08 pm on Sep 23, 2003 (gmt 0)

10+ Year Member



Thanks for replying. I've already done all that.

<frameset rows="33%, 34%, *" cols="33%,34%,*">
<frame style="border:0" frameborder="0" marginheight="0" marginwidth="0" src="picture3.htm" noresize="noresize" scrolling="no" name="ftopleft"></frame>
<frame style="border:0" frameborder="0" marginheight="0" marginwidth="0" src="picture3.htm" scrolling="no" name="ftopcentre"></frame>
<frame frameborder="0" marginheight="0" marginwidth="0" src="picture3.htm" scrolling="no" name="ftopright"></frame>
<frame frameborder="0" marginheight="0" marginwidth="0" src="picture3.htm" scrolling="no" name="fcentreleft"></frame>
<frame frameborder="0" marginheight="0" marginwidth="0" src="picture3.htm" scrolling="no" name="fcentre"></frame>
<frame frameborder="0" marginheight="0" marginwidth="0" src="picture3.htm" scrolling="no" name="fcentreright"></frame>
<frame frameborder="0" marginheight="0" marginwidth="0" src="picture3.htm" scrolling="no" name="fbottomleft"></frame>
<frame frameborder="0" marginheight="0" marginwidth="0" src="picture3.htm" scrolling="no" name="fbottomcentre"></frame>
<frame frameborder="0" marginheight="0" marginwidth="0" src="picture3.htm" scrolling="no" name="fbottomright"></frame>
<noframes>
<body>
Sorry, this document can only be viewed with a frames capable browser.
<a href="frame1.html">Take this link</a>
to the first html document in the set.
</body>
</noframes>
</frameset>

It validates OK as XHTML 1.0, but the borders are displayed.

MonkeeSage

8:34 pm on Sep 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



When I try frameborder="0" it removes the border, but leaves the spacing, which I can't seem get rid of... :\

I guess we just have to use frameborder="0" or border="0" on the <frameset> itself and toss the W3C reccomendation to the wind at this point.

Jordan