W3C home > Mailing lists > Public > www-style@w3.org > December 2001

the frameborder attribute

From: Tapio Markula <tapio1@gamma.nic.fi>
Date: Fri, 7 Dec 2001 10:50:18 -0500 (EST)
Message-Id: <3.0.5.32.20011207175405.00797bf0@gamma.nic.fi>
To: howcome@opera.com, bbos@w3.org, tantekc@microsoft.com, peter@linss.com, sho@macromedia.com, www-style@w3.org, attinasi@netscape.com
CSS for form control elements and frames

Frames has the 'frameborder' attribute. In CSS 'border' doesn't conform
with it.
Frames has also 'border', which is similar with CSS-border. If 'IFRAME' has
frameborder="1"
CSS can't change that value.

Opera interprets borders of certain form control elemenst as if frame borders.
See http://www.nic.fi/~tapio1/Teaching/Taustat.php3#Forms

I propose to add 'frameborder' property, which could emulate the
frameborder attribute.
Setting frameborder:none could be correspond with frameborder="0". With the
fraborder property could be set DOUBLE border for any element, including
IFRAME, INPUT.
With frameborder + border could emulate also 'inset/outset' in MS and 
bordercolorlight/bordercolordark attributes in MS IE for the element TABLE.
With frameborder + border properties could create equal rendering in all
browsers.

If both border and frameborder could be set, the frameborder could be the
INNER border.
this could help defining CSS for FRAME, FRAMESET, IFRAME, INPUT, SELECT,
TEXTAREA and ISINDEX elements. BUT this could be used reasonable also with
for example TABLE
---------------------------------------------------------
Tapio Markula, tapio.markula@nic.fi, tapio1@nic.fi
http://www.nic.fi/~tapio1/index.html (Finnish)
http://www.nic.fi/~tapio1/index_e.html (English)
---------------------------------------------------------
I like
 __
____ Cascading 
______ Style
______   Sheets

http://www.nic.fi/~tapio1/Opetus/FAQ.php3 
http://www.nic.fi/~tapio1/Teaching/FAQ.php3
---------------------------------------------------------
I have made something also with XML and XSL:

http://www.nic.fi/~tapio1/Opetus/XSL-new.php3 (XML)
http://www.nic.fi/~tapio1/Teahing/XSL-new.php3 (XML)
---------------------------------------------------------
Received on Friday, 7 December 2001 14:16:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:11 GMT