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

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