Skip to content

Instantly share code, notes, and snippets.

@ricardosiri68
Created January 2, 2015 01:54
Show Gist options
  • Save ricardosiri68/c80723974ec9adb87570 to your computer and use it in GitHub Desktop.
Save ricardosiri68/c80723974ec9adb87570 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>index</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="container">
<div class="column left-column">
<div class="top-row"></div>
<div class="middle-row"></div>
<div class="bottom-row"></div>
</div>
<div class="column right-column"></div>
</div>
</body>
</html>
.container{
width: 754px;
height: 548px;
padding: 0;
margin: 0 auto;
position: relative;
}
.column{
float: left;
}
.left-column{
width: 544px;
}
.right-column{
width: 210px;
height: 100%;
background-color: #22B14C;
}
.top-row{
height: 110px;
background-color: #ED1C24;
}
.middle-row{
height: 22px;
background-color: #FFF200;
}
.bottom-row{
height: 416px;
background-color: #7092BE;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment