Skip to content

Instantly share code, notes, and snippets.

@jmcnevin
Created June 21, 2011 19:55
Show Gist options
  • Save jmcnevin/1038727 to your computer and use it in GitHub Desktop.
Save jmcnevin/1038727 to your computer and use it in GitHub Desktop.
<html>
<head>
<style>
div {
border: 1px solid black;
margin-right: 10px;
padding: 10px;
}
#col1,#col2 {
float: left;
width: 100px;
}
#col1 {
background-color: #FFF;
}
#col2 {
background-color: #BBB;
}
#col3 {
background-color: #999;
width: auto;
margin-left: 264px;
}
</style>
</head>
<body>
<div id="col1">COL 1</div>
<div id="col2">COL 2</div>
<div id="col3">COL 3</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment