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 08-01-2012, 11:27 PM   PM User | #1
galt
New Coder

 
Join Date: Jul 2012
Posts: 16
Thanks: 10
Thanked 0 Times in 0 Posts
galt is an unknown quantity at this point
Question Getting scrollbar of page to show up?

Why isn't a scrollbar appearing on my page? I've got an image at the bottom of the page that only the top half is showing, there is no scroll bar to scroll down.

here's the css:

Code:
.scrollenabled
{
	overflow:scroll;
}
and then in the html:

Code:
<body class = "scrollenabled">
        blahblahblah
</body>
All my elements on my page are positioned fixed... would that affect the scroll bar not working?
galt is offline   Reply With Quote
Old 08-02-2012, 12:51 AM   PM User | #2
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
You say you have an image?

If so do
Code:
.scrollenabled img {
     overflow:scroll;
}
Code:
<body class="scrollenabled">
        blahblahblah
</body>
Body?

Do you mean Div?

If you want to do change something in the body, you use in css

Code:
body {styles}
tempz 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 06:09 PM.


Advertisement
Log in to turn off these ads.