Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Banned
    Join Date
    Mar 2007
    Posts
    1,523
    Thanks
    116
    Thanked 0 Times in 0 Posts

    Question footer color to strech width of screen?

    on my website: http://magento.slicedcreative.co.uk/index.html
    I would like to stretch the footer the width of my screen

    html
    Code:
    <html>
    <head>
    <title>page title</title>
    <link rel="stylesheet" type="text/css" href="css/reset-style.css" />
    <link rel="stylesheet" type="text/css" href="css/sitestyle.css" />
    </head>
    <body>
    <div id="doc">
    	<div id="hd">
    	<div class="logoholder"></div>
    		<ul>
    			<li><a href="#">Home</a></li>
    			<li><a href="#">About us</a></li>
    			<li><a href="#">Take the test</a></li>
    			<li><a href="#">contractor law</a></li>
    			<li><a href="#">Passport checker</a></li>
    			<li><a href="#">Contact Us</a></li>
    		</ul>
    		<span>Risk awareness in the work place</span>	
    	</div>
    	<div id="bd">
    		<div class="yui-g">
    			<div id="leftcolumn" class="yui-u first">
    			left
    			</div>
    		<div class="yui-u" id="rightcol"> 		
    		Right	
    		</div>
    	</div>
    </div>
    <div id="ft">footer</div>
    </body>
    </html>
    css
    Code:
    #ft {
    	background-color: gray;
    	background-repeat: repeat-x;
    }

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,950
    Thanks
    9
    Thanked 724 Times in 718 Posts
    Errr, it is stretched across the width of the screen...?

  • #3
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    It's fully stretched for in FF2.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •