Skip to content

Instantly share code, notes, and snippets.

@daxaxelrod
Created May 3, 2017 20:51
Show Gist options
  • Save daxaxelrod/ac33b40ac8a8f13c0d15669002e62713 to your computer and use it in GitHub Desktop.
Save daxaxelrod/ac33b40ac8a8f13c0d15669002e62713 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Basic Homepage</title>
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
body {
text-align: center;
margin: auto;
}
.ital {
font-style: italic;
}
.center {
text-align: center;
}
table {
border: 3px red;
text-align: center;
border-collapse: collapse;
}
tr {
border: 3px red;
text-align: center;
}
th {
border: 3px red;
text-align: center;
}
td {
border: 3px red;
text-align: center;
border-collapse: collapse;
}
table {
margin: 0 auto;
}
img {
margin: auto;
width: 50%;
}
#picture_td {
margin: 0;
padding: 0;
}
.border-top-tr {
border-top: red 3px solid;
}
</style>
<div>
<table style="border: red 3px solid">
<tbody>
<tr>
<td> Binghamton University Homepage </td>
</tr>
<tr>
<td> for </td>
<tr>
<td class="center ital"> Shawn Graber </td>
</tr>
<tr class="border-top-tr">
<td id="picture_tr" style="border:red 3px solid"><img src="http://i.imgur.com/5ylcqWl.jpg" alt="Mountain" style="width:304px;height:228px;"></td>
</tr>
</tbody>
</table>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment