Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
footer not reaching bottom
Old 03-31-2008, 02:22 PM footer not reaching bottom
Super Talker

Posts: 132
Trades: 0
if you note here:
http://opensecretdev.com/createdbyfate/contact.html
the footer does not reach the bottom if your browser window is tall enough.
same with the rest of the pages.
here's the css.

Code:
body {
    font:11px futura, helvetica, sans-serif;
    margin:0;
    padding:0;
    color:#464646;
    letter-spacing: 1px;
    line-height:140%;
    background-color:#bfd1bc;
    }
table,tr {
    margin:0;
    font-size:13px;
    border:0;
    border-collapse:collapse;
    border-spacing:0;
    }
td {
    border:1px solid #464646;
    font:11px futura, helvetica, sans-serif;
    padding:4px;
    }
    
th {
    border:1px solid #464646;
    font:13px futura, helvetica, sans-serif;
    color:#000;
    text-align:left;
    padding:4px;
    }
    
h1 {
    font:14px futura, helvetica, sans-serif;
    margin-top:20px;
    }
    
h2 {
    font:10px futura, helvetica, sans-serif;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-top:20px;
    }
    
p {
    margin-top:10px;
    }
    
ul {
    margin:0;
    padding:0;
    list-style-type:none;
    }
li {
    margin-left:15px;
    margin-bottom:8px;
    font-size:11px;
    }    
    
a {
    font-family: futura, helvetica, sans-serif;
    text-decoration: none;
    color: #666;
    }
    
a:hover {
    border-bottom:1px solid #666;
    padding-bottom:2px;
    }

#wrap {
    height:100%;
    width:100%;
    margin:0 auto;
    padding:0;
    }
    
#top-spacer {
    width:100%;
    height:5px;
    background-color:#c1d1bd;
    }
    
#head {
    background-image: url('images/leaves-pattern.png');
    background-repeat: repeat;
    width:100%;
    height:160px;
    }
    
#ordering {
    vertical-align:top;
    position:relative;
    top:10px;
    left:465px;
    }
    
#head-holder {
    width:900px;
    height:155px;
    margin:0 auto;
    
    }
    
#topnav {
    vertical-align:bottom;
    float:left;
    position:relative;
    bottom:20px;
    left:145px;
    }
    
#bottom-spacer {
    width:100%;
    height:5px;
    background-color:#8bb07e;
    }
    
#left {
    float:left;
    width:160px;
    height:auto;
    margin-top:-15px;
    }
    
#content {
    margin:30px auto 0 auto;
    width:900px;
    height:auto;
    min-height:350px;
    padding:20px 0 20px 0;
    }
    
#toprr {
    width:900px;
    margin:10px auto 0 auto;
    height:18px;
    background-image:url('images/toprr.gif');
    background-repeat:no-repeat;
    }
#content-catalog {
    margin:0 auto;
    width:900px;
    height:auto;
    min-height:350px;
    padding:20px 0 20px 0;
    background-image:url('images/middlerr.gif');
    background-repeat:repeat-y;
    background-size:100%;
    }
    
#bottomrr {
    width:900px;
    margin:0 auto 10px auto;
    height:18px;
    background-image:url('images/bottomrr.gif');
    background-repeat:no-repeat;
    }
    
    
#footer {
    background-color:#8bb07e;
    width:100%;
    clear:both;
    height:35px;
    padding-top:10px;
    }
    
div.img {
    background-color:#fff;
    text-align:center;
    float:left;
    margin-left:40px;
    width:200px;
    height:auto;
    }
    
div.imgFirst {
    background-color:#fff;
    text-align:center;
    float:left;
    margin-left:40px;
    width:200px;
    height:auto;
    }
    
div.imgSecond {
    text-align:center;
    float:left;
    margin-left:40px;
    width:200px;
    height:auto;
    }
div.imgThird {
    text-align:center;
    float:left;
    margin-left:200px;
    width:200px;
    height:auto;
    }
    
#clear {
    clear:both;
    }
/* text */
p.copyright {
    text-align:center;
    font-size:9px;
    margin-top:10px;
    }
    
p.caption {
    font-size:10px;
    margin-bottom:25px;
    }
    
a.topnavOn {
    font-size:9px;
    color:#bfd1bc;
    letter-spacing:1px;
    margin-left:30px;padding-bottom:2px;
    border-bottom:1px solid #bfd1bc;
    }
    
a.topnav {
    font-size:9px;
    color:#bfd1bc;
    letter-spacing:1px;
    margin-left:30px;
    }

a:hover.topnav {
padding-bottom:2px;
    border-bottom:1px solid #bfd1bc;
    }
    
a.ordering {
    font-size:9px;
    color:#bfd1bc;
    letter-spacing:1px;
    }

a:hover.ordering {
    border-bottom:1px solid #bfd1bc;
    }
    
p.testimonial-name {
    font-size:12px;
    margin-top:50px;
    }
    
a.left {
    color:#464646;
    margin:0;
    }
a:hover.left {
    font-size:11px;
    letter-spacing:2px;
    color:#000;
    margin:0;
    border:none;
    }
a.leftOn {
    font-size:11px;
    letter-spacing:2px;
    color:#000;
    margin:0;
    }
a:hover.leftOn {
    font-size:11px;
    letter-spacing:2px;
    color:#000;
    margin:0;
    border:none;
    }
anybody sure why?

Thanks!
soap is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-31-2008, 02:39 PM Re: footer not reaching bottom
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Isn't there a sticky about this?
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 03-31-2008, 02:59 PM Re: footer not reaching bottom
Super Talker

Posts: 132
Trades: 0
i dunno, is there?
soap is offline
Reply With Quote
View Public Profile
 
Old 03-31-2008, 03:30 PM Re: footer not reaching bottom
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
anybody sure why?
Yep, that's how it works, #footer will position itself after #wrap. If #wrap gets longer #footer will move further down.

here is my offering for a Sticky Footer

and there are more in Always vAlign Bottom
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-31-2008, 03:57 PM Re: footer not reaching bottom
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Then there's the faux columns method: http://www.alistapart.com/articles/fauxcolumns/

FYI, you've got some other problems in IE6.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-31-2008, 04:36 PM Re: footer not reaching bottom
Super Talker

Posts: 132
Trades: 0
thanks.

i tried:
Code:
    <script type="text/javascript">
    function bottomAlign()
      {
      document.getElementById('footer').vAlign="bottom";
      }
    </script>
</head>

<body onload="bottomAlign()">
but didn't seem to work.
will try some more things.
soap is offline
Reply With Quote
View Public Profile
 
Old 03-31-2008, 06:12 PM Re: footer not reaching bottom
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Nope, it wouldn't.

vAlign only applies to table rows and cells.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-31-2008, 06:35 PM Re: footer not reaching bottom
Super Talker

Posts: 132
Trades: 0
ah, i see.
soap is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to footer not reaching bottom
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26282 seconds with 12 queries