Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 10-21-2005, 03:54 PM Scrolling Help
Jasonpv's Avatar
Super Talker

Posts: 102
Trades: 0
I was just wondering if somebody could give me a pointer on how to resolve this problem I am having. I have a scrolling layer that functions as the area for the main info of the site. The problem is when viewing the site in a resolution of 1024x768 or lower the rest of the page becomes long enough to force a scrollbar for the entire background. This creates extra scrolling when trying to scroll through the main info in the middle. So my question is, is there a way to disable the scrolling of the background while the viewer is scrolling through the info on the main layer?

Here is a link for an example:

http://www.sddrinkspecials.com/happyhour.htm

Thank you for any help!
Jasonpv is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-22-2005, 06:30 PM
lil_cat_luver's Avatar
Skilled Talker

Posts: 57
Location: Canada
Trades: 0
<style type="text/css">

body {
overflow-x: hidden;
overflow-y: hidden;
}

</style>

I think that's the code.

Although if you use this code, viewers with 1024x768 screen resolution or lower would not be able to see the things on the bottom of your site. IMaybe would be better if you just made the graphics smaller.
lil_cat_luver is offline
Reply With Quote
View Public Profile Visit lil_cat_luver's homepage!
 
Old 10-23-2005, 04:52 AM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Note that overflow-x & -y are Internet Explorer specific. For all browsers just use overflow:hidden

Though a better way is to design the page so 760px height is the maximum needed. That would eliminate the issue entirely. The 25% to 30% of users still on 800x600 will find scrolling pretty much the norm.
Though I would hazard a guess on the target audience for that site to be mainly using 1024x768 and above anyway so the percentage of 800x600 users would be lower.

BTW. Black text on that very busy background is no fun to read at any resolution.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-04-2005, 06:47 AM
Jasonpv's Avatar
Super Talker

Posts: 102
Trades: 0
hmm...I tried that code but it didn't seem to work guys? Any other ideas? Thank you for the help, I am still an amateur
Jasonpv is offline
Reply With Quote
View Public Profile
 
Old 11-04-2005, 09:11 AM
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
Can we see your code?
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 11-04-2005, 07:11 PM
Jasonpv's Avatar
Super Talker

Posts: 102
Trades: 0
Is this what you are looking for or do you want entire page?
Code:
body {
	background-image:  url(sddrnklayout.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-color: #000000;
	scrollbar-face-color:#94C0D6;
	scrollbar-highlight-color:#FFFFFF;
	scrollbar-3dlight-color:#447093;
	scrollbar-darkshadow-color:#447093;
	scrollbar-shadow-color:#FFFFFF;
	scrollbar-arrow-color:#000040;
	scrollbar-track-color:#447093;
	overflow: hidden;
}
Jasonpv is offline
Reply With Quote
View Public Profile
 
Old 11-06-2005, 02:19 PM
Jasonpv's Avatar
Super Talker

Posts: 102
Trades: 0
Is what I am trying to do possible?
Jasonpv is offline
Reply With Quote
View Public Profile
 
Old 11-06-2005, 04:26 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Yes, but you will need to adjust your design to a maximum height that your target audience demographic are most likely to be using.
I would guess that your design has been assembled at a high resolution (1600x1200 at least) and the graphics set to be seen at this.
If you look at the page in 1024x768 you see that just about everything could be reduced by 20 - 25% which should give a max height of around 720 px instead of the current ~980px.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-06-2005, 06:12 PM
Jasonpv's Avatar
Super Talker

Posts: 102
Trades: 0
Well, the site does need to be redone completely, but I was hoping for an easy fix just so people can scroll the div layer without causing the background to scroll with it as well. Thanks for the help guys!
Jasonpv is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Scrolling Help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28428 seconds with 12 queries