Created
February 21, 2011 02:07
-
-
Save arnorhs/836574 to your computer and use it in GitHub Desktop.
work in progress for a blog post....
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 charset="utf-8"> | |
<title>Example how to send an email</title> | |
<link rel="stylesheet" href="style.css" /> | |
</head> | |
<body> | |
<div id="mainwrap"> | |
<h1>Mail me something:</h1> | |
<form action="mailme.php" method="post"> | |
<div class="field"> | |
<label>Your name:</label> <input type="text" name="yourname" /> | |
</div> | |
<div class="field"> | |
<label>Your email:</label> <input type="text" name="youremail" /> | |
</div> | |
<div class="field"> | |
<label>Your favorite Will Ferrell movie:</label> <input type="text" name="favoritemovie" /> | |
</div> | |
<div class="field"> | |
<input type="submit" /> | |
</div> | |
</form> | |
</div> | |
</body> | |
</html> |
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
div,ul,li { | |
list-style:none; | |
display:block; | |
margin:0; | |
padding:0; | |
} | |
#mainwrap { | |
width: 500px; | |
margin: 0px auto; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment