Created
June 17, 2011 18:28
-
-
Save jpcody/1031979 to your computer and use it in GitHub Desktop.
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
## Semantic | |
<div class="childhood-story"> | |
<label for="story-of-youth">A Story From Your Childhood</label> | |
<textarea name="story-of-youth" id="story-of-youth" cols="30" rows="10"></textarea> | |
</div> | |
<style> | |
div.childhood-story label { | |
vertical-align: top; | |
} | |
</style> | |
## Object-oriented | |
<div class="top-align"> | |
<label for="story-of-youth">A Story From Your Childhood</label> | |
<textarea name="story-of-youth" id="story-of-youth" cols="30" rows="10"></textarea> | |
</div> | |
<style> | |
div.top-align { | |
vertical-align: top; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment