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 12-06-2012, 12:25 AM   PM User | #1
bittiker1
New to the CF scene

 
Join Date: Dec 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
bittiker1 is an unknown quantity at this point
Page Shows Scroll bar no matter what

Here's my page: http://bad-sf.com/stemtest/about.html

Notice that scrolling is still an option even though the content is small enough to not require scrolling. Could it have to do with my css? (below):

body:before {
content:"";
height:100%;
float:left;
width:0;
margin-top:-32767px;
}
* {
margin:0;
padding:0;
outline: none;
}
html, body {
height:100%;
font-family: '_.regular';
font-size: 13px;
outline: none;
}
#wrap {
min-height:100%;
width:800px;
margin: 2% auto;
}
#main {
overflow:auto;
padding-bottom: 30px;
}
#smm {
width: 400px;
height: 200px;
float:left;
}

#footer {
position: relative;
margin-top: 0px;
height: 35px;
clear:both;
font-family: '_.regular';
}




THANKS! I'm still learning html and css so any input you have would be really appreciated - Danny
bittiker1 is offline   Reply With Quote
Old 12-06-2012, 12:18 PM   PM User | #2
backa
New Coder

 
Join Date: Oct 2012
Posts: 44
Thanks: 7
Thanked 3 Times in 3 Posts
backa is an unknown quantity at this point
in #wrap, change margin to margin: 0 auto;
the 2% seems to be the culprit.

Last edited by backa; 12-06-2012 at 12:23 PM..
backa is offline   Reply With Quote
Old 12-06-2012, 04:02 PM   PM User | #3
tempz
Regular Coder

 
Join Date: Jul 2012
Location: London
Posts: 436
Thanks: 4
Thanked 80 Times in 80 Posts
tempz is an unknown quantity at this point
Add

Code:
overflow:hidden;
to your body, html css
tempz is offline   Reply With Quote
Reply

Bookmarks

Tags
css, hide, scroll, scrollbar, scrolling

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 09:46 AM.


Advertisement
Log in to turn off these ads.