HOME
TUTORIAL
∇
Applets
Comments
CSS
Document Tags
Embed
Fonts
Forms
Frames
Images
Lines & Paragraphs
Links
Lists
Logical Tags
Scripts
Sounds
Symbols
Tables
Weird Tags
FORUM
∇
HTML Help
Web Design
Programming Languages
Web Hosting
Domain Names
Marketing
Community
QUICK LIST
CSS
Forum Home
FAQ
Search
Memberlist
Register
Profile
Log in to check your private messages
Log in
Register
- Not registered yet? Got something to say?
Join HTML Code Tutorial
!
Bottom cuts off in Firefox
HTML Help Forum Index
->
CSS
View previous topic
::
View next topic
Author
Message
trappedinabelljar
Joined: 05 Apr 2008
Posts: 3
Posted: Sat Apr 05, 2008 2:56 pm
Bottom cuts off in Firefox
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: 837
Posted: Sat Apr 05, 2008 3:31 pm
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
Posted: Sat Apr 05, 2008 4:08 pm
Thanks for responding so quickly. Do I need to add that to my current container code?
sticks464
Joined: 31 Dec 2006
Posts: 837
Posted: Sat Apr 05, 2008 7:15 pm
yes
trappedinabelljar
Joined: 05 Apr 2008
Posts: 3
Posted: Sun Apr 06, 2008 10:13 am
Thanks! That did it!
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
HTML Help Forum Index
->
CSS
All times are GMT - 8 Hours
Page
1
of
1
Jump to:
Select a forum
Announcements
----------------
Announcements
HTML Help
----------------
HTML FAQ
General HTML
HTML Form
HTML Table
HTML Frame
CSS
DHTML
SSI
MySpace
HTML Tools
Web Design
----------------
Images & Graphics
Templates
Multimedia
Programming Languages
----------------
Javascript
PHP
Perl
ASP
Others
Web Hosting
----------------
Free Hosting
Shared Hosting
Dedicated, Managed, and Co-located Hosting
Hosting Business and Reseller Hosting
Domain Names
----------------
Registrars
Tools
For Sale, Wanted, & Appraisals
Expired Domains
Monetization
Legal Issues
Marketing
----------------
SEO
PPC
Affiliate Marketing
Other Internet Marketing
Community
----------------
Miscellaneous
Website Review
Introduce Yourself
Feedback
Praise
Errors
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
Your Ad Here
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HOSTING / DESIGN
$1.99 Domain Registration
Cheap Web Hosting
Website Templates
MAKE MONEY
Sell Domain Names
Sell Website Templates
Home
|
Tutorials
|
Forum
|
Quick List
|
About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial