W3C home > Mailing lists > Public > www-html@w3.org > March 2001

RE: No borders around frames?

From: Jan Anderson Hunt <jan.hunt@mainzpress.com>
Date: Sat, 3 Mar 2001 08:47:03 -0600
To: "Gabriele Caniglia" <mailing.lists@garr.com>, <www-html@w3.org>
Message-ID: <HKEGIBMHNEGMPIDHPMLDMEDACAAA.jan.hunt@mainzpress.com>
I have found that there doesn't seem to be a valid fix for this.

Netscape does not place the frames right next to each other unless you use
border=0 in the frameset element (which is not allowed in the frameset DTD).

You said "IE needs both FRAMEBORDER and FRAMESPACING (set to 0) as FRAMESET
attributes" but I have not used those and my frames work in IE.

Here is a sample of what has worked for me:
<frameset rows="130,*" border="0">
 	<frame src="top.html" name="top"
 	scrolling="no" frameborder="0" />
 	<frame src="main.html" name="main"
 	scrolling="yes" frameborder="0" />

That's as close to legitimate as I can get. If anyone has more
suggestions....or I suppose if your backgrounds are white you will not see
the gap and then you can leave out border in which case you would be valid.

-----Original Message-----
From: Gabriele Caniglia [mailto:mailing.lists@garr.com]
Sent: Friday, March 02, 2001 10:45 AM
To: www-html@w3.org
Subject: No borders around frames?


Hello List,

I am not a long time web developer, but I am trying to learn to
follow the w3c recomandations and make standard (non proprietary)
code.

My boss pretends a complex frameset on his site, I don't like the
whole thing, but I must work on it... :(

Let's come to the point: I need no borders around the frames.
Quite some time ago I posted a message to this list (4398) asking
about the FRAMEBORDER attribute, but I can't get it to work with IE
and N6.

IE needs both FRAMEBORDER and FRAMESPACING (set to 0) as FRAMESET
attributes.
N6 only needs the BORDER (set to 0) as a FRAMESET attribute.

So the line should go like this:

<frameset cols="15%,*" frameborder="0" framespacing="0" border="0">

As far as I know, FRAMESPACING and BORDER are not standards, and the
FRAMEBORDER is only standard  if used as a FRAME attribute. But the
FRAMEBORDER used as a FRAME attribute does not work with IE and N6.

Is there a solution to my problem?

(please forgive my English, I'm not part of the English-speaking world...)
--
Gabriele Caniglia
gabble@garr.com
Received on Saturday, 3 March 2001 09:46:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:45 GMT