HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Bottom cuts off in Firefox
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
trappedinabelljar



Joined: 05 Apr 2008
Posts: 3

PostPosted: Sat Apr 05, 2008 2:56 pm     Bottom cuts off in Firefox Reply with quote

Hi. I'm redesigning my website and the bottom is cutting off in Firefox. I've just converted the website to PHP.

http://kristenwiigfan.com/test/cancel.php

I'm using headers and footers. My CSS is below.

Quote:

body {
background-color: #000000;
font-size: 11px;
font-family: Verdana, Arial, SunSans-Regular, Sans-Serif;
color: #FFFFFF;
padding:0px;
margin:0px;
}
a {color: #00CC66;}
a:visited {color: #00CC66;}
a:hover {color: #564b47;}
a:active { color:#00CC66;}

h1 {
font-size: 11px;
text-transform:uppercase;
text-align: center;
background-color: #222222;
padding:5px 15px;
margin:0px }

h2 {
font-size:20px;
text-decoration: underline;
font-weight: normal;
padding: 5px 10px;
margin:0px;}

img.download {vertical-align:middle;}

/* ----------container to center the layout-------------- */
#container {
width: 795px;
border-left: solid;
border-right: solid;
border-color: #FFFFCC;
border-width: 1px;
margin-bottom: auto;
margin-left: auto;
margin-right: auto;
background-color: #336666;
}

/* ----------banner for logo-------------- */
#banner {

text-align: right;
padding: 0px;
margin: 0px;
}
#banner img {padding:0px 0px; border-bottom: 1px solid #FFFFCC ;}


/* -----------------content--------------------- */
#content {
background-color: #336666;

padding: 0px;
margin-left: 210px;
margin-right: 0px;
margin-bottom: auto;
}
div#content {
min-height: 1000px;

height:expression(this.scrollHeight > 1000 ? "auto":" 1000px");
}

p, pre{
padding: 5px 10px;
margin:0px;
}

/* --------------left navi------------- */
#left {
float: left;
width: 200px;
margin: 0px;
margin-bottom: auto;
padding: 5px;
background-color: #336666;
}


Thanks for any help you can give! I'll post my header file if needed.
sticks464



Joined: 31 Dec 2006
Posts: 933

PostPosted: Sat Apr 05, 2008 3:31 pm     Reply with quote

Add
Code:

#container {
...
...
...
...
height:100%;


Then add this line after the #container element
Code:
* html > body #container {height: auto;}
trappedinabelljar



Joined: 05 Apr 2008
Posts: 3

PostPosted: Sat Apr 05, 2008 4:08 pm     Reply with quote

Thanks for responding so quickly. Do I need to add that to my current container code?
sticks464



Joined: 31 Dec 2006
Posts: 933

PostPosted: Sat Apr 05, 2008 7:15 pm     Reply with quote

yes
trappedinabelljar



Joined: 05 Apr 2008
Posts: 3

PostPosted: Sun Apr 06, 2008 10:13 am     Reply with quote

Thanks! That did it!
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial