-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
thanh
committed
Aug 2, 2015
0 parents
commit 97180fb
Showing
2 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Web Form</title> | ||
<link rel="stylesheet" type="text/css" href="style.css"> | ||
<link href="http://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"> | ||
</head> | ||
<body> | ||
<div id="header"><h1>Contact us!</h1></div> | ||
<div id="wrapper"> | ||
<div id="inputs"> | ||
<form name="input" action="#" method="post"> | ||
First name: <input type="text" name="firstname" value="first name"><br/> | ||
Last name: <input type="text" name="lastname" value="last name"><br/> | ||
E-mail: <input type="email" name="email" value="e-mail address"><br/><br/> | ||
</form> | ||
</div> | ||
<div> | ||
<form id="options"> | ||
Message: <br/><textarea name="msg"></textarea><br> | ||
Sex: <input type="radio" name="sex" value="male">Male | ||
<input type="radio" name="sex" value="female">Female<br><br> | ||
<input type="checkbox" name="notify" value="updates" checked>I would like to receive notices when this website updates.<br> | ||
<input type="checkbox" name="notify" value="services">I would like to receive notices pertaining to related websites and their services.<br><br> | ||
<input type="submit" value="Submit"> | ||
</form> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#header { | ||
position: relative; | ||
top: -10px; | ||
background-color: #00a0b0; | ||
border-top-left-radius: 15px; | ||
border-top-right-radius: 15px; | ||
height: 40px; | ||
} | ||
h1 { | ||
font-family: Lobster; | ||
color:#fff; | ||
text-align: center; | ||
} | ||
form { | ||
font-family: verdana, arial, sans-serif; | ||
} | ||
p { | ||
font-family: verdana, arial, sans-serif; | ||
display: inline-block; | ||
} | ||
input { | ||
font-family: verdana, arial, sans-serif; | ||
color: #777; | ||
} | ||
textarea{ | ||
vertical-align: top; | ||
width: 400px; | ||
color: #777; | ||
} | ||
#wrapper { | ||
border: 1px solid #888; | ||
position: relative; | ||
top: -10px; | ||
padding: 10px 20px; | ||
box-shadow: 3px 3px 3px #444; | ||
font-size: 0.8em; | ||
} | ||
#inputs { | ||
width: 200px; | ||
clear: both; | ||
} | ||
#inputs input { | ||
width: 100%; | ||
clear: both; | ||
} |