Firefox and 100% height not working HELP!
Posted: 18 January 2010 06:55 PM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2010-01-18

I know this is all over the web but I’ve spent hours and can’t get it to work. I really need help! The issue only in Firefox. I am doing a browser detect and I point to two separate .css files so as not to confuse the issues. Like I said, IE - great but the Firefox will not stretch my container to contain 100% of my text. It only shows you 100% of the screen. I am using someone else’s design and I am supposed to convert it to pure css. Cannot use any tables. Any ideas??

Here is my firefox css code:

body {
text
-aligncenter/* center things in pre-IE6 */
background-imageurl(../images/bg_gradient_wallpaper.jpg);
background-repeatrepeat-x;
background-attachmentfixed;
}

#container {
margin: -10 autopadding0px;
width1024px;
text-alignleft;
border3px solid #CC9933;
background-color#FFF;
height100%;
}

#contentmain {
width857px;
floatright;
border1px solid pink;
background-colorwhite;
}


#contentleft {
margin0 autopadding:29px 0px 10px 30px;
width320px;
floatleft;
border1px solid black
}

#contentright {
margin0 autopadding:20px 52px 10px 0px;
width375px;
floatright;
border1px solid red;
}

.clearfooter {
height
200px;
clearboth;
}

#clearfooter {
height20px;
clearboth;
}


#footer {
    
height20px;
    
positionrelative;
    
color#00467f;
    
font-size12px;
    
font-familyArialHelveticasans-serif;
}
 here is a link to my HTML

Link to HTML code

Profile
 
 
Posted: 22 January 2010 06:12 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  5
Joined  2010-01-22

its good to find it in hacktivism.net…

Profile
 
 
Posted: 22 January 2010 04:33 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  2
Joined  2010-01-18

I am not sure what you mean but anyway I figured out something that is helping. Here it is:

I added this to the main container:

display: table;

Profile
 
 
Posted: 31 January 2010 06:48 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  1
Joined  2010-01-31

this problem solve with js
please search vertical js in div

Profile