- From: Ian Graham <igraham@smaug.java.utoronto.ca>
- Date: Thu, 17 Aug 2000 16:16:58 -0400
- To: Tapio Markula <tapio1@gamma.nic.fi>
- cc: bbos@w3.org, www-html@w3.org
The Netscape/Mozilla browser actually has a CSS extension that does exactly this, although I don't think this approach is adopted in any current CSS proposals. Have you looked through the many CSS drafts documents (see http://www.w3.org/Style/CSS/current-work) to see if there's anything in them on this subject? Ian On Thu, 17 Aug 2000, Tapio Markula wrote: > Emulation form elements with CSS. > > I forgot the 'overflow' property in this matter: > THIS could work in some XML-language: > xml:textare > {display:inline-table;height:60px;width:300px;overflow:auto;border:2p inset > #603} /* display:inline-table emulate presumable better the behavior of > 'select ' than some other value */ > In principle overflow + borders could emulate the INPUT or TEXTAREA elements. > ALL except radio button could be emulated with CSS in XML. > > CSS3 needs ONLY one property, border-shape to render all elements like HTML. > Possible values are 'rectangle' and 'circle', border-shape:rectangle or > border-shape:circle (to emulate radio buttons). > I regard that this is a missing property because the intention is - unlike > CSS1 - to be full layout language. > > Could this be added? > ------------------------------------------------------ > Tapio Markula > I like > __ > ¦__¦__ Cascading > ¦__¦__¦__ Style > ¦__¦__¦__¦ Sheets > > I have made something also with XML and XSL > ------------------------------------------------------ > E:mail: tapio.markula@nic.fi > http://www.nic.fi/~tapio1/index.html (Finnish) > http://www.nic.fi/~tapio1/index_e.html (English) > http://www.nic.fi/~tapio1/Opetus/ (CSS2) > http://www.nic.fi/~tapio1/Teaching/ (CSS2) > http://www.nic.fi/~tapio1/Opetus/XSL-new.html (XML) > http://www.nic.fi/~tapio1/Teahing/XSL-new.html (XML) > ------------------------------------------------------ >
Received on Thursday, 17 August 2000 16:17:11 UTC