Skip to content

Instantly share code, notes, and snippets.

@waynerobinson
Created March 7, 2012 03:09
Show Gist options
  • Save waynerobinson/1990649 to your computer and use it in GitHub Desktop.
Save waynerobinson/1990649 to your computer and use it in GitHub Desktop.
<html>
<head>
<style>
.setdown-address-block {
background-color: #eeeeee;
width: 100%;
display: table;
}
.setdown-buttons, .address-input, .validation-icon {
display: table-cell;
}
.setdown-buttons {
border: 1px solid green;
width: 7em;
}
.address-input {
background-color: blue;
width: 100%;
}
.validation-icon {
width: 20px;
height: 20px;
padding-left: 10px;
border: 1px solid orange;
}
</style>
</head>
<body>
<div style="width: 500px; border: 1px solid black;">
<div class="setdown-address-block">
<div class="setdown-buttons">
<button>Airport</button>
<button>City</button>
</div>
<input type="text" class="address-input" id="setdown-address" />
<div class="validation-icon">V</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment