I am working on a web form that has Optgroup in it, and the first
time I realized browsers render this attribute differently.
I have something like this:
optgroup label=United States
option label=CA value=CaliforniaCalifornia/option
/optgroup
In Firefox, it display: California
On Oct 24, 2007, at 3:27 PM, Tee G. Peng wrote:
I am working on a web form that has Optgroup in it, and the first
time I realized browsers render this attribute differently.
IE Mac displays 'CA' in your 1st example
IE 7 Win displays 'CA' in your 1st example
Opera 9.5 alpha: idem ditto.
I
On Oct 24, 2007, at 12:14 AM, Philippe Wittenbergh wrote:
On Oct 24, 2007, at 3:27 PM, Tee G. Peng wrote:
I am working on a web form that has Optgroup in it, and the first
time I realized browsers render this attribute differently.
IE Mac displays 'CA' in your 1st example
IE 7 Win
On Oct 24, 2007, at 10:37 PM, Tee G. Peng wrote:
Under 17.6.1 it says (specifically for label in option):
http://www.w3.org/TR/html401/interact/forms.html#adef-label-OPTION
label = text [CS]
This attribute allows authors to specify a shorter label for
an option than the content of the
On 24 Oct 2007, at 14:37, Tee G. Peng wrote:
We must use 'label' right?
option label=3.7 value=pm2_3.7PortMaster 2 with ComOS 3.7/
option
The label attribute is only required on optgroup; it is optional on
option. If browsers are behaving differently when it's used on
option, just