My columns are not scrolling above the fixed footer
Posted: 28 October 2010 01:47 AM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2010-10-28

First off, I am new here so thank you in advance for any help you can provide and I’m happy to be a new member.

I have stumbled onto two issues with my layout. The second issue I will wait and post in a different thread though.

I have a fixed footer and I have a three column layout and the problem I am having is that the content in the #left div hides behind the fixed footer clipping the end content. I imagine the #right div does this too but I haven’t tested. I do want the content to hide underneath the footer when needed. However, when their is not a lot of content it gets clipped behind the footer and what I’d like is to have it scroll up above footer when the content doesn’t fill enough to fully go under the footer. How could this be accomplished in my css, I am at a loss? I thought maybe max-height but I am pretty certain all this would do is prevent the main layout to push downward as more content is posted.

The css and xhtml are valid.

Link to see what I mean:
http://www.lonniebruhn.com/sitelab/

and here is the css code.

bodyhtml {
font
-size100%;
margin0;
padding0;
text-aligncenter;
line-height100%;
background-color#000;}

#container {
margin0 auto;
width940px;
text-alignleft;
background-imageurl(images/container-bg.jpg);
background-repeatno-repeat;
background-color#1d1d1d;;
}

#header {
width920px;
positionrelative;
top5px;
margin0 auto;
background-color#333;
border2px #000 solid;}

#header h1 {color: #ffffff;
font-size2em;
font-familyImpact"Arial Black"Trebuchetsans-serif"Times New Roman";
line-height90%;
text-aligncenter;
margin0;
padding10px;}

.quote {
position
relative;
text-alignright;
Left:10px;
font-family"Arial Black"VerdanaHelveticaArialsans-serif;
color#ffcc33;
font-size.5em;
font-styleitalic;
}

#logo {
positionrelative;
margin:0 auto;
background-imageurl(images/header-logo.jpg);
background-repeatno-repeat;
width:920px;
height:120px;
border2px #000 solid;
}

#left {
margin15px 10px 0px 10px;
width:180px;
positionrelative;
width180px;
floatleft;
border2px #000 solid;
background-color#333;}

#left h1{
height:20px;
margin10px auto;
color#ffcc33;
font-familyImpact"Arial Black"VerdanaHelveticaArialsans-serif;
font-size1.50em;
text-aligncenter;
text-decorationunderline;
}

#dates {
positionrelative;
margin0 auto;
text-alignleft;
}

#dates ul {
margin:0;
color#ffffff;
font-familyVerdanaArialsans-serif;
font-size.625em;
font-weightbold;
positioninherit;}

#dates li {
padding10px 0 5px 5px;
list-
style-imageurl(images/1.gif);
display: list-item;
margin0px 18px 15px -15px;
list-
style-typenone;
text-align:left;
border-bottom2px #ffcc33 dashed;}

#mainbody {
positionrelative;
background-color:#333;
width480px;
min-height:320px;
margin15px auto;
right20px;
border2px #000 solid;
}


#right {
positionrelative;
width220px;
background-color#333;
min-height320px;
floatright;
border2px #000 solid;
margin-top15px;
margin-right10px;}

#right h1 {
text-aligncenter;
color#ffcc33;
font-familyVerdanaArialsans-serif;
font-size1.25em;
margin0 auto;
padding-top10px;
padding-bottom10px;}


#footer-wrap {
background-imageurl(images/footer-bg.jpg);
width100%;
height78px;
z-index2;
left0;
bottom0;
positionfixed;}

#footer-nav {
positionfixed;
width:260px;
height:75px;
z-index:2;
bottom0px;
left:0;
}

#footer-nav ul{margin:0 auto; left}

#footer-nav li {
float:left;
font-size0.68em;
z-index:2;
color#aeaeae;
font-familyVerdanaHelveticaArialsans-serif;
display:block;
width:90px;
height:20px;
list-
style-typenone;
margin:0;
}

p {
margin
:0 25px 25px 25px;
font-size.875em;
font-familyTrebuchetVerdanaGeorgiasans-serif"Times New Roman";

color#fff;
text-alignjustify;}

#links{
text-alignright;
padding2px;

}

#links a:link, #links a:visited, #links a:active {
right:8px;
font-weightbold;
font-size0.625em;
font-familyVerdanaArialsans-serif;
color#cccccc;
font-familyVerdanaArialsans-serif;
text-decorationnone;
positionrelative;}

#links a:hover {
text-decorationunderline;}

#links ul {margin: 0; list-style-type:none}

#links li {
displayinline
}

#menu
{ height15px;
 
  
width920px;
  
height:22px;
  
positionrelative;
  
margin0 auto;
  
background-color#333;
  
border-left2px #000 solid;
  
border-bottom2px #000 solid;
  
border-right2px #000 solid;}

#menu ul{margin: 0 auto;} 

#menu li
{ floatleft
  
margin0;
  
padding0;
  list-
stylenone;


#menu li a 
{ displayblock
  
height20px;
  
text-decorationnone
  
padding0 19px 0 19px;
  
border2px #000000 solid;
  
text-transformuppercase;
  
font-size0.75em;
  
font-familyVerdanaHelveticaArial,sans-serif
  
color#ccc;
  
background-color#666;} 

#menu li a:hover, #menu li a#selected, #menu li a#selected:hover 
{ border2px #000000 solid; background-color: #3f3f3f;


.postdate {
display
:block;
margin10px 20px 20px 20px;
padding-left10px;
color#ffcc33;
font-familyVerdanaHelveticaArialsans-serif;
font-size0.75em;
background-color#000;}

.post p {
margin
0px 20px 0px 20px;
font-size.75em;
font-familyTrebuchetVerdanaGeorgiasans-serif"Times New Roman";
padding10px;
background#000;
padding-top20px;
line-height120%;
}


.post h1 {
margin
0px 20px 0 20px;
color#ffcc33;
font-size1.2em;
font-familyVerdanaGeorgiasans-serif"Times New Roman";
padding10px;
background#000;
text-decorationunderline;}

.post h2 {
margin
0px 20px 0 20px;
color#ffcc33;
font-size.6em;
font-familyTrebuchetVerdanaGeorgiasans-serif"Times New Roman";
padding15px 10px 5px 10px;
background#000;
text-transformuppercase;}

.blue {
color
#3399ff;;
margin5px 0 10px 0;
displayblock;}


.video {
width
190px;
margin10px auto 0px a 
Profile
 
 
Posted: 29 October 2010 07:38 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  3
Joined  2010-10-29

I’ve got the same problem..

Profile
 
 
Posted: 29 October 2010 07:42 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  3
Joined  2010-10-29

I’ve got the same problem..

Profile
 
 
Posted: 30 October 2010 01:15 AM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  2
Joined  2010-10-28

orangeh,

I had some help in another forum, You want to put some bottom margin on your container so that it pushes the divs and there content above the footer a little.  It depends on the footer size but for mine it was margin-bottom: {90px};

hope that helps
LB


Edit

I mean

{margin-bottom90px}

sorry

Profile