Green bar of colour at bottom of page gets bigger the more page is extended

This is a discussion on "Green bar of colour at bottom of page gets bigger the more page is extended" within the Web Page Design section. This forum, and the thread "Green bar of colour at bottom of page gets bigger the more page is extended are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 31st, 2008, 09:09
New Member
Join Date: Mar 2008
Location: uk
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Green bar of colour at bottom of page gets bigger the more page is extended

I am reasonably new to CSS and I understand most basic concepts, but cant seem to see why I am having the problem described below.

Basically I have used a css and webpage template for my site, and altered it slightly to get the look I want, but cant seem to get rid of a green bar of colour that appears at the bottom of every page and more green is visible the longer I make the page.

From what I understand the css is seperated out in to styles for different sections of the page, so I have only included the bottom section as this is where I am having the problem. I cannot identify where the green would be coming from.

Any help would be appreciated.

Thanks!
(css and html code below)

Code: Select all
/*------------------------------------------------footer start---------------------*/
#footer{
    width:778px;
    height:207px;
    margin:0 auto;
    padding:31px 0 0 0;
    background:url(images/footer_bg.gif) left bottom no-repeat;
    position:relative;
}
#footer ul{
    width:559px;
    margin:0;
    padding:0;
    position:absolute;
    left:148px;
    top:31px;
}
#footer ul li{
    margin:0;
    float:left;
    font:bold 11px/14px "Trebuchet MS", Arial, Helvetica, sans-serif;
    color:#880000;
    background-color:#FFFFD5;
    background-image:none;
}
#footer ul li a{
    font:bold 11px/14px "Trebuchet MS", Arial, Helvetica, sans-serif;
    color:#880000;
    background-color:#FFFFD5;
    text-decoration:none;
    padding:0 10px 0 10px;
}
#footer ul li a:hover{
    color:#000;
    background-color:#C6EC62;
}
#footer p.copyright{
    font:normal 11px/14px  "Trebuchet MS", Arial, Helvetica, sans-serif;
    color:#000;
    background-color:#FFFED0;
    position:absolute;
    left:285px;
    top:50px;
}
#footer p.design{
    display:block;
    width:194px;
    height:17px;
    border:#E1E08E solid 1px;
    padding:0 0 0 35px;
    position:absolute;
    left:291px;
    top:72px;
    font:bold 11px/17px  "Trebuchet MS",Arial, Helvetica, sans-serif;
    color:#990000;
    background-color:#fff;
}
#footer a.link{
    width:85px;
    font:bold 11px/17px  "Trebuchet MS",Arial, Helvetica, sans-serif;
    color:#990000;
    background-color:#fff;
    padding:0 3px;
    text-decoration:none;
    text-transform:capitalize;
}
#footer a.link:hover{
    color:#fff;
    background-color:#B50000;
}
/*------------------------------------------------footer end---------------------*/
Code: Select all
        <!--right panel end -->
            <p class="bot"></p>
            <br class="spacer" />
            </div>
        <!--body end -->
        <!--footer start -->
            <div id="footer">
            <ul>
                <li><a href="#">Search </a></li>
                <li><a href="register.php">Advertise</a></li>
                <li><a href="contact.php">Contact Us</a></li>
                <li><a href="#">Admin Login</a></li>
            </ul>

            <p class="design">Designed By: <a href="http://www.templateworld.com/" target="_blank" class="link">Template World</a></p>
            </div>
        <!--footer end -->
    </body>
</html>
Reply With Quote

  #2 (permalink)  
Old Apr 1st, 2008, 01:27
New Member
Join Date: Mar 2008
Location: UK
Age: 21
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Green bar of colour at bottom of page gets bigger the more page is extended

try and swap position:relative for position:absolute in the footer.
and remove the three 0 from padding by footer p.design

did it help?
Reply With Quote
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] CSS changing page colour etc R8515198 Web Page Design 10 Nov 27th, 2007 00:54
Linking an outside page back to previous framed page MJustison Starting Out 1 Oct 18th, 2007 17:49
Repeating an image along the bottom of the page without setting it as background. imagius Web Page Design 9 Apr 27th, 2007 08:35
A gap appears beween the Page Title and the Body Content of the page. sovereign6 Web Page Design 6 Dec 18th, 2006 19:14
Divs within another div go to the bottom of page... Nitesh9999 Web Page Design 10 Mar 1st, 2006 14:08


All times are GMT. The time now is 03:05.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43