/*
CSS-file for Strictly CSS three column layout 2006
http://www.strictlycss.com
Developed by Eivind Savio
*/
/*Set's border, padding and margin to 0 for all values* /
{
padding: 0;
margin: 0;
border: 0;
}
/*
body {
min-width: 760px;
}*/
.clear { clear: both; }
#mainContainer {
min-height: 300px;
background-color:white;
}
* html #mainContainer {
height: 300px; /*** IE doesn't support min-height, but instead it handles height as min-height so we need to hack the height ***/
}
/**************************
HEADER
**************************/
#header {
background: #000099;
padding: 10px
}
/**************************
CONTENT AND COLUMNS
**************************/
.outer {
padding-left: 166px;
padding-right: 170px;
}
/*** This is the visible right col background. Because of IE (both 6 and 7) the right col background and inner border is in fact an repating image where 1px of the left part of the image is black, and is simulating a border.
***/
* html .outer {
/*** No need for hacking IE on this layout ***/
}
.inner {
width: 100%;
}
* html .inner {
/*** No need for hacking IE on this layout ***/
}
/*** div.inner is wider than its container, div.outer, and so overlaps to the right, pushing
div.right into the proper position. IE expands div.outer instead, requiring a Tan hack to avoid 
blowing the layout apart. IE gets the original 100% width as in the Livingstone layout. It blows 
my mind that all this hacking is being caused by the mighty Gecko engine! (shakes head ruefully)
***/
.float-wrap {
float: left;
width: 100%;
margin-left: -166px; /*** Same length as .outer padding-left but with negative value ***/
}
* html .float-wrap {
/*** No need for hacking IE on this layout ***/
}
#content {
float: right;
background: #fff;
margin-right: -165px; /*** Same length as .outer padding-left but with negative value ***/
width: 100%;
}
* html #content {
position: relative; /*** IE needs this  ***/
}

/**************************
LEFT COLUMN
**************************/
/*** div.left is in div.float-wrap, and when div.float-wrap is neg margined to the left, 
div.left is carried over into the proper position. 
***/
#left {
float: left;
width: 155px;
min-height: 250px;
padding-left: 5px;
padding-top:5px;
}
* html #left {
position: relative; /*** IE needs this  ***/
height: 250px;
}
#left ul {
list-style: none;
padding-bottom: 4px;
}
#left li {
padding-bottom: 2px;
}
/*************************
RIGHT COLUMN
**************************/
#right {
float: right; 
width: 160px;
position: relative; /*** IE needs this  ***/
padding: 5px;
min-height: 250px;
margin-right: -170px; /** This negative margin-right value is the width of the right column + the padding, in this example 130px. ***/
}
* html #right {
height: 250px;
}
#right ul {
list-style: none;
padding-bottom: 4px;
}
#right li {
padding-bottom: 2px;
}
/**************************
FOOTER



.outer {background-color:pink}
.inner {background-color:blue}
.float-wrap {background-color:green}
#content {background-color:black}
.content-wrap {background-color:#999999}
#left {background-color:yellow}
#right {background-color:red}
#mainContainer {background-color:orange}
**************************/

