Skip to content

Instantly share code, notes, and snippets.

@Jonty800
Created July 19, 2014 19:12
Show Gist options
  • Save Jonty800/b5839f1abcf6b1d849ce to your computer and use it in GitHub Desktop.
Save Jonty800/b5839f1abcf6b1d849ce to your computer and use it in GitHub Desktop.
<style>
#bottombox,
#topbox {
background-color: #CCCCCC;
width: 500px;
height: 100px;
margin: auto;
margin-bottom: 10px;
box-shadow: 10px 10px 5px #888888;
}
#boxcontents {
display: inline;
float: none;
margin: auto;
}
</style>
<div id="topbox">
<div id="boxcontents">
CREATE
<form name="mainform" method="POST" action="result">
<input type="text" name="name" />
<input type="submit" name="button" value="Shorten" onClick="processInput(this.form)" />
</form>
</div>
</div>
<div id="bottombox">
<div id="boxcontents">FETCH
<form name="fetchform" method="POST" action="result">
<input type="text" name="name" />
<input type="submit" name="button" value="Go >" onClick="processInput(this.form)" />
</form>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment