select option in Safari ?

Posted by Karandeep Singh on Stack Overflow See other posts from Stack Overflow or by Karandeep Singh
Published on 2010-06-10T12:06:39Z Indexed on 2010/06/10 12:12 UTC
Read the original article Hit count: 346

< select size="2" multiple>
    < option value="1">1< /option>
    < option value="2">2< /option>
    < option value="3">3< /option>
    < option value="4">4< /option>
    < option value="5">5< /option>
    < option value="6">6< /option>
    < option value="7">7< /option>
    < option value="8">8< /option>
    < option value="9">9< /option>
    < option value="10">10< /option>
    < option value="11">11< /option>
    < option value="12">12< /option>
    < option value="13">13< /option>
< /select>

size attribute of Select tag is not working properly in Safari.

if size attribute's value is greater than four then there have no problem, its working. But when I set the value of size less than four then it show four values.

above example displays four options in safari but I want two options. What is the reason for this ?

© Stack Overflow or respective owner

Related posts about html

Related posts about internet-explorer