Created
May 3, 2012 13:59
-
-
Save slikts/2585828 to your computer and use it in GitHub Desktop.
Columns
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> | |
<html> | |
<head> | |
<title>Column example</title> | |
<style type="text/css"> | |
.col-a { | |
float: left; | |
width: 100%; | |
margin-left: -200px; | |
} | |
.col-a-content { | |
padding-left: 200px; | |
} | |
.col-b { | |
float: right; | |
width: 200px; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="col-a"> | |
<div class="col-a-content">col-a</div> | |
</div> | |
<div class="col-b">col-b</b> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment