Created
February 15, 2009 23:43
-
-
Save chrisgemignani/64907 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>untitled</title> | |
<!-- an example of how to do two divs side by side --> | |
<style type="text/css" media="screen"> | |
.left { | |
background-color: #ccffff; | |
margin-right: 50%; | |
} | |
.right { | |
background-color: #ffcccc; | |
width: 50%; | |
float: right; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="right"> | |
<p>I'm on the right</p> | |
</div> | |
<div class="left"> | |
<p>I'm on the left</p> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment