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 4 of 4
  1. #1
    New Coder
    Join Date
    Feb 2012
    Posts
    96
    Thanks
    1
    Thanked 5 Times in 4 Posts

    How do i make my page go down?

    I'm using
    Code:
    position:fixed;
    to move my pages and stuff but i want my home page to be bigger so i need it to scroll down. But for some reason my scroll bar won't appear. My code

    Code:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    	<meta name="Keywords" content="" />
    	<meta name="Description" content="" />
    	<link rel="stylesheet"type="text/css" href="style.css"/>
    	<title>sellmysoftware - Make money for your software.</title>
    
    </head>
    <body>
    <div class="homepage">
    	<div id="header">
    		<img src="Images/header.jpg"/>
    	</div>
    		
    		<div id="footer">
    		  Copyright © 2012 sellmysoftware.com. All rights reserved.
    		</div>
    	
    
    
    
    
    
    
    
    
    </div>
    </body>
    </html>
    and this is my css

    Code:
    body {
    background-image:url('images/background.png');
    background-repeat:repeat;
    }
    .homepage {
    border:1px solid gray;
    height:1000px;
    width:70%;
    position:fixed;
    top:0%;
    left:14%;
    background-color:white;
    }
    
    #header {
    position:fixed;
    top:-1%;
    left:14.16%;
    }
    #footer {
    position:fixed;
    top:97%;
    left:14%;
    border:1px solid gray;
    height:3%;
    width:70%;
    background-color:black;
    color:white;
    text-align:center;
    }

  • #2
    New to the CF scene
    Join Date
    Jun 2012
    Location
    United States the State of Georgia
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts
    your not using those spaces towards the end of your html code as a spacer are you?

  • #3
    New Coder
    Join Date
    Feb 2012
    Posts
    96
    Thanks
    1
    Thanked 5 Times in 4 Posts
    Quote Originally Posted by kmgilbert View Post
    your not using those spaces towards the end of your html code as a spacer are you?
    No i'm not.

  • #4
    Regular Coder
    Join Date
    Apr 2012
    Posts
    165
    Thanks
    1
    Thanked 39 Times in 39 Posts
    Try increasing the height of your wrapper. I checked out your code and the srcoll bars appear fine on my small laptop, but not on my larger one or my desktop. If the page doesn't have content that goes below what's visible in the window, it won't display a scroll bar.


  •  

    Posting Permissions

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