Created
November 5, 2011 14:43
-
-
Save mariusneo/1341600 to your computer and use it in GitHub Desktop.
UL Style Problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<title>UL Style Problem</title> | |
<style type="text/css"> | |
ul.search-inputs li label { | |
width: 100%; | |
margin: 5px; | |
display: block; | |
} | |
ul.search-inputs li { | |
width: 33.2%; | |
float: left; | |
list-style: none outside none; | |
} | |
</style> | |
</head> | |
<body> | |
<ul class="search-inputs"> | |
<li> | |
<div> | |
<label>Location</label> <select> | |
<option value="1">USA</option> | |
<option value="2">Europe</option> | |
<option value="3">Asia</option> | |
</select> | |
</div> | |
</li> | |
<li> | |
<div> | |
<label>Sample</label> | |
<select> | |
<option value="1">Water</option> | |
<option value="2">Soil</option> | |
</select> | |
</div> | |
</li> | |
</ul> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment