Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Eric Atkinson
committed
Jul 12, 2013
1 parent
602334a
commit 3cbe915
Showing
1 changed file
with
62 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<html> | ||
<head> | ||
<style type = "text/css"> | ||
#float { | ||
float: left; | ||
width: 300px; | ||
height: 500px; | ||
background: blue; | ||
} | ||
#float1 { | ||
float: left; | ||
width: 500px; | ||
height: 75px; | ||
background: red; | ||
} | ||
#float3 { | ||
float: left; | ||
width: 200px; | ||
height: 100px; | ||
background: red; | ||
} | ||
#float2 { | ||
float: right; | ||
width: 100px; | ||
height: 50px; | ||
background: green; | ||
} | ||
#float4 { | ||
float: right; | ||
width: 100px; | ||
height: 250px; | ||
background: green; | ||
} | ||
#float5 { | ||
float: left; | ||
width: 300px; | ||
height: 100px; | ||
background: yellow; | ||
} | ||
#outer { | ||
padding: 100px; | ||
height: 250px; | ||
background: gray; | ||
} | ||
#firstouter { | ||
height: 100px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id = "firstouter"> | ||
<div id = "float"></div> | ||
</div> | ||
<div id = "outer"> | ||
<div id = "float1"></div> | ||
<div id = "float2"></div> | ||
<div id = "float3"></div> | ||
<div id = "float4"></div> | ||
</div> | ||
<div id = "float5"></div> | ||
</body> | ||
</html> |