Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-24-2012, 01:45 AM   PM User | #1
bigcasey123
New Coder

 
Join Date: Feb 2012
Posts: 95
Thanks: 1
Thanked 5 Times in 4 Posts
bigcasey123 is an unknown quantity at this point
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;
}
bigcasey123 is offline   Reply With Quote
Old 06-24-2012, 01:54 AM   PM User | #2
kmgilbert
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
kmgilbert is an unknown quantity at this point
your not using those spaces towards the end of your html code as a spacer are you?
kmgilbert is offline   Reply With Quote
Old 06-24-2012, 06:08 AM   PM User | #3
bigcasey123
New Coder

 
Join Date: Feb 2012
Posts: 95
Thanks: 1
Thanked 5 Times in 4 Posts
bigcasey123 is an unknown quantity at this point
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.
bigcasey123 is offline   Reply With Quote
Old 06-24-2012, 09:38 PM   PM User | #4
EpicWebDesign
Regular Coder

 
Join Date: Apr 2012
Posts: 165
Thanks: 1
Thanked 39 Times in 39 Posts
EpicWebDesign will become famous soon enough
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.
EpicWebDesign is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 11:00 AM.


Advertisement
Log in to turn off these ads.