HTML CSS examples for CSS Widget:UL Alignment
vertically align a drop down list
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> span {<!-- ww w . j a v a2 s. co m--> font-size:51px; } span, select { vertical-align:middle; } </style> </head> <body> <p> <span>Lorem ipsum</span> <select> <option>Lorem</option> </select> </p> </body> </html>