1
0
Fork 0

Static body width of 800px

website
Mike Gerwitz 2011-03-23 01:01:57 -04:00
parent a2db0a5ad7
commit e0a0567a0a
2 changed files with 34 additions and 25 deletions

View File

@ -6,6 +6,7 @@
<link type="text/css" rel="stylesheet" href="style.css" />
</head>
<body>
<div id="content">
<h1>ease.js</h1>
<h2>The JavaScript Paradigm Shifter</h2>
@ -30,6 +31,8 @@
state. It is currently in use within a production system at the author's
place of employment. Feel free to use ease.js in your own projects.
</p>
</div>
</content>
<p class="copyright">
Copyright &copy; 2011 <a href="http://mikegerwitz.name">Mike Gerwitz</a>

View File

@ -15,21 +15,27 @@ body {
border-style: solid;
border-radius: 1em;
margin: 5em;
margin: 5em auto;
padding: 0.5em 1em 0.5em 1em;
width: 800px;
font-family: arial, serif;
}
#content {
position: relative;
}
h1 {
position: absolute;
top: 0.5em;
top: -2.5em;
}
h2 {
position: absolute;
top: 1em;
right: 5em;
top: -2.5em;
right: 0px;
}
ul {