W3C home > Mailing lists > Public > www-html@w3.org > February 2004

Re: Why is border not an attribute of iframe in HTML 4.0?

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Fri, 27 Feb 2004 19:08:38 +0200 (EET)
To: www-html@w3.org
Message-ID: <Pine.GSO.4.58.0402271906190.2888@korppi.cs.tut.fi>

On Thu, 26 Feb 2004, Prive wrote:

> Why is border not an attribute of iframe in HTML 4.0?

Being deprecated, iframe deserves its share of illogic. :-)

> Although most browsers support it, it is not a standard attribute of iframe
> and frameborder doesn't work.

Pardon? IE 6 doesn't seem to care about border, and it correctly
implements frameborder (the way it has been defined, for good or bad,
with values "0" and "1" exactly).

You can get the desired border by setting frameborder="0" and using CSS to
specify the border you want.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Friday, 27 February 2004 12:08:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:04 UTC