Grouped dropdown list box caption overflows - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Grouped dropdown list box caption overflows

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <title>Lorem ipsum dolor s</title> 
  <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
 </head> <!--from  w ww. j  a  v a  2 s. c  o m-->
 <body> 
  <select> <option value="opt123">Lorem ipsum dolor sit amet, c</option> <optgroup label="I am group one"> <option value="opt11">Lorem ipsum dolor sit amet, consectetur a</option> <option value="opt12">Lorem ipsum dolor si</option> <option value="opt13">Lorem ipsum dolor sit </option> </optgroup> <optgroup label="I am group two"> <option value="opt21">Lorem ipsum dolor </option> <option value="opt22">Lorem ipsum dolor </option> <option value="opt23">Lorem ipsum dolor si</option> </optgroup> </select>  
 </body>
</html>

Related Tutorials