473,385 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

cssui proposal [originally submitted to www-style] legend & fieldset

Ok, here it goes. Originally I submitted this proposal to www-style.
Since I don't get feedback there, I think I missed a few (maybe a lot)
of points.

Proposal:
<http://lists.w3.org/Archives/Public/www-style/2003Nov/0096.html> (for
some strange reason I can't post to that list myself)

The first point I missed was of course that CSS3UI is not planning to do
anything with FIELDSET and LEGEND
(<http://www.w3.org/TR/css3-ui/#scope>), which I think is a shame, since
these are 'form elements' where it is not a real problem if you get
'total control' over them.

I post it here, which will hopefully makes it easier to quote from. I
modified it a little (maybe not at all):

*Additional values for the 'display' property*

Name: display
New Values: fieldset | inline-fieldset | legend
Initial: inline
Applies to: all elements
Inherited: no
Percentages: N/A
Media all

fieldset
Equal to the HTML equivalent <fieldset/>

inline-fieldset
Equal to the HTML equivalent <fieldset/> with 'display:inline-block;'
applied to it.

legend
Equal to the HTML equivalent <legend/>.

These three are defined in HTML401 and CSS21:

-
<http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.10>
- <http://www.w3.org/TR/2003/WD-CSS21-20030915/visuren.html#display-prop>
*'legend-position' property'*

Name: legend-position
Values: [ [top | bottom | left | right] ||
[<percentage> | <length>]* ]
Initial: top
Applies to: elements with display:legend;
Inherited: no
Percentages: refer to the size of it's parent
Media visual

top, bottom, left and right
Same as
<http://www.w3.org/TR/html401/interact/forms.html#adef-align-LEGEND>

(note the other optional values should be described here, I'm not sure
how to do that)

This property applies to all legend elements (display:legend;). It
specifies the position of the legend element within it.

Example:

HTML
<outer>
<inner/>
</outer>

CSS
outer{ display:fieldset; }
inner{ display:legend; }

outer{ legend-position:bottom 40px; /* 40px to the right from the
bottom-left edge of the 'outer'
element */
}
outer{ legend-position:right 50%; /* 50% down from the top-right
edge of the 'outer' element */
}
*Addtional values for the 'appearance' property*

Name: appearance
New Values: fieldset | inline-fieldset | legend
Initial: inline
Applies to: all elements
Inherited: no
Percentages: N/A
Media interactive

fieldset
Specifies the default system style for the fieldset elements.

inline-fieldset
specifies the default system style for the inline-fieldset elements.

legend
Specifies the default system style for the legend elements.
*HTML UA STYLE SHEET*

The HTML UA style sheet can be extended in the following way:

fieldset{
display:fieldset;
appearance:fieldset;
}
legend{
display:legend;
appearance:legend;
legend-position:top;
}
legend[align]{
legend-position:attr(align);
}
Thanks in advance. I hope you can help me out, writing something better
for www-style :-)

--
Anne van Kesteren
<http://www.annevankesteren.nl/>
Jul 20 '05 #1
0 2989

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Batezz | last post by:
I have created a form (below) How do I stop it redirecting to another page (productsearchresults.php) when form is submitted if both the fields are blank? Any help appreciated. Batezz
0
by: Guido van Rossum | last post by:
This is the *last* reminder that the deadline for sending proposals for presentations at PyCon DC 2004 is January 15, 2004. That's upcoming Thursday! I'm also reminding everybody, speakers and...
9
by: Jess Austin | last post by:
hi, I like the way that Python does lists, and I love the way it does iterators. But I've decided I don't like what it does with iterators of lists. Lists are supposed to be mutable sequences,...
15
by: Ralf W. Grosse-Kunstleve | last post by:
****************************************************************************** This posting is also available in HTML format: http://cci.lbl.gov/~rwgk/python/adopt_init_args_2005_07_02.html...
13
by: Ian Hickson | last post by:
A group of us have been unofficially working on a proposal of extensions to HTML4's Forms chapter, and would like to get input from a wider range of people now that we think our draft proposal is...
8
by: Micah Elliott | last post by:
I also have this living as a wiki <http://tracos.org/codetag/wiki/Pep> if people would like to add comments there. I might try to capture there feedback from this group anyway. First try at a PEP...
47
by: Pierre Barbier de Reuille | last post by:
Please, note that I am entirely open for every points on this proposal (which I do not dare yet to call PEP). Abstract ======== This proposal suggests to add symbols into Python. Symbols...
19
by: klenwell | last post by:
Another request for comments here. I'd like to accomplish something like the scheme outlined at this page here: http://tinyurl.com/3dtcdr In a nutshell, the form uses javascript to hash...
10
by: James | last post by:
Hi, I would like to know your thoughts on a proposed change to optparse that I have planned. It is possible to add default values to multiple options using the set_defaults. However, when adding...
56
by: Adem | last post by:
C/C++ language proposal: Change the 'case expression' from "integral constant-expression" to "integral expression" The C++ Standard (ISO/IEC 14882, Second edition, 2003-10-15) says under...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.