Skip to content

Instantly share code, notes, and snippets.

@rwarbelow
Created June 14, 2014 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rwarbelow/c812a5e5cd7029709141 to your computer and use it in GitHub Desktop.
Save rwarbelow/c812a5e5cd7029709141 to your computer and use it in GitHub Desktop.
A Pen by Rachel Warbelow.
<html>
<head>
<meta charset="UTF-8" />
<title>Document</title>
<link rel="stylesheet" type="text/css" href="mycss.css" />
</head>
<body>
<form>
<label>Last Name:</label>
<input type="text">
<span class="input_spacing"></span>
<label>First Name:</label>
<input type="text">
<br /><br />
<label>Are you over 18</label>
<input type="checkbox" value="yes">Yes
<input type="checkbox" value="no">No
<br/><br />
<label>Gender</label>
<input name="gender" type="radio" value="male">Male
<input name="gender" type="radio" value="female">Female
<textarea row="40" cols="70">
</textarea>
<input id="submit" type="submit" value="submit" />
</form>
<div>
<table class="green">
<thead>
<th>col 1</th>
<th>col 2</th>
<th>
col 3
</th>
</thead>
<tbody>
<tr>
<td class="green">row 1, col 1</td>
<td>james</td>
<td class="green">jack</td>
</tr>
<tr>
<td>lori</td>
<td>lisa</td>
<td>lyn</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
div {
border: 5px dotted yellow;
background-color: black;
color: pink;
/*width: 170px;*/
}
#submit {
margin-left: 400px;
}
/*table {
background: rgba(200,120,40,0.3);
}*/
#row1 {
background-color: green;
}
.green {
background: grey;
}
label {
margin-right: 10px;
}
.input_spacing {
margin-left: 10px;
margin-right: 10px;
}
textarea {
height: 100px;
}
/*form {
background: red;
}
.input_spacing {
margin-left: 10px;
margin-right: 10px;
}*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment