Created
November 6, 2010 04:11
-
-
Save davemo/665183 to your computer and use it in GitHub Desktop.
Testing the way some form elements get floated as a base case.
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 lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Form Float Isolation!</title> | |
<style type="text/css"> | |
div { /** Basic Scaffolding **/ | |
border: 1px solid #ccc; | |
} | |
.control-group { | |
height: 50px; | |
} | |
.content { | |
height: 200px; | |
} | |
.right { /** BAD :P **/ | |
float: right; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>A test to see how form controls float cross browser</h1> | |
<div class="control-group"> | |
<div class="right"> | |
<select id="createList_listType" name="listType"> | |
<option value="QUOTE_LIST">Quote List</option> | |
<option value="INVOICE_COMPARISON">Invoice Comparison</option> | |
<option value="WEEKLY_PRICE">Weekly Price</option> | |
<option value="ORDER_GUIDE">Order Guide</option> | |
</select> | |
<button id="createListButton">Create List</button> | |
<button id="manualUpdater">Update</button> | |
</div> | |
</div> | |
<div class="content"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment