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
1 parent
3582175
commit 5c7fff5
Showing
6 changed files
with
176 additions
and
75 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
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
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,49 @@ | ||
/* | ||
Sticky Footer Solution | ||
by Steve Hatcher | ||
http://stever.ca | ||
http://www.cssstickyfooter.com | ||
*/ | ||
|
||
/* | ||
* {margin:0;padding:0;} | ||
*/ | ||
|
||
/* must declare 0 margins on everything, also for main layout components use padding, not | ||
vertical margins (top and bottom) to add spacing, else those margins get added to total height | ||
and your footer gets pushed down a bit more, creating vertical scroll bars in the browser */ | ||
|
||
html, body {height: 100%;} | ||
|
||
#wrap {min-height: 100%;} | ||
|
||
#main {overflow:auto; | ||
padding-bottom: 150px;} /* must be same height as the footer */ | ||
|
||
#footer {position: relative; | ||
margin-top: -150px; /* negative value of footer height */ | ||
height: 150px; | ||
clear:both;} | ||
|
||
/*Opera Fix*/ | ||
body:before {/* thanks to Maleika (Kohoutec)*/ | ||
content:""; | ||
height:100%; | ||
float:left; | ||
width:0; | ||
margin-top:-32767px;/* thank you Erik J - negate effect of float*/ | ||
} | ||
|
||
|
||
|
||
/* IMPORTANT | ||
You also need to include this conditional style in the <head> of your HTML file to feed this style to IE 6 and lower and 8 and higher. | ||
<!--[if !IE 7]> | ||
<style type="text/css"> | ||
#wrap {display:table;height:100%} | ||
</style> | ||
<![endif]--> | ||
*/ |
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
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,7 @@ | ||
<p> | ||
© Jimmy Schementi › | ||
<a href="#/about" rel="address:/about">about</a> | | ||
<a href="#/projects" rel="address:/projects">projects</a> | | ||
<a href="#/writing" rel="address:/writing">writing</a> | | ||
<a href="http://flickr.com/photos/jschementi" target="_blank">photos</a> | ||
</p> |
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