To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 5375
5374  |  5376
Subject: 
Re: MSIE5 better but still buggy (was: Re: Why MSIE sucks for the HTML writer)
Newsgroups: 
lugnet.admin.general
Date: 
Mon, 20 Mar 2000 19:45:53 GMT
Viewed: 
7040 times
  
In lugnet.admin.general, Todd Lehman writes:
> 
> Well, maybe you're right about that after all.  According to section 8.1.3 of
> RFC1866[1] (HTML 2.0), "[t]he initial state has the first option selected,
> unless a SELECTED attribute is present on any of the <OPTION> elements."
> (This is completely bizarre!)
> 
> The HTML 4.0 spec redefines this to be undefined (it's up to the application
> whether or not to select the first item in this case).
> 
> Thus, it appears that Netscape _went against_ the HTML 2.0 spec when it
> implemented the <SELECT> tag, and that Microsoft _adhered_ to the HTML 2.0
> spec when it implemented the <SELECT> tag.  We could say then that it's
> actually the spec itself which is broken, since it provides no way to
> guarantee that a multiple-select list box comes up with exactly zero items
> preselected.  To its credit, in violating the HTML 2.0 spec, Netscape made
> the <SELECT> tag work better than it was intended to.  It is unfortunate
> (IMHO) that Microsoft did not also violate the spec.  If they had, then
> the HTML 4.0 might now define <SELECT> in a more versatile way than the
> crippled way that it does now.  >

Ok, well I couldn't stop from smiling when I read your post.

It sounds to me that Netscape did a little "embracing and extending" of its
own in this area :)

> Does MSIE give any other way (though perhaps
> some other ATTRIBUTE) whereby an HTML author can send a multiple-select list
> and guarantee that _zero_ of the list items are preselected?  That would be
> a nice workaround to the shortcoming in the spec.

I don't understand your question...



Message has 1 Reply:
  Re: MSIE5 better but still buggy (was: Re: Why MSIE sucks for the HTML writer)
 
(...) I have a web page on www.lugnet.com which sends out four multiple-select lists. In each of those lists, I want _none_ of the list items to be pre-selected. If the user clicks Submit without explicitly selecting any items in any of those list (...) (27 years ago, 20-Mar-00, to lugnet.admin.general)

Message is in Reply To:
  Re: MSIE5 better but still buggy (was: Re: Why MSIE sucks for the HTML writer)
 
(...) Well, maybe you're right about that after all. According to section 8.1.3 of RFC1866[1] (HTML 2.0), "[t]he initial state has the first option selected, unless a SELECTED attribute is present on any of the <OPTION> elements." (This is (...) (27 years ago, 20-Mar-00, to lugnet.admin.general)

131 Messages in This Thread:
(Inline display suppressed due to large size. Click Dots below to view.)
Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR