/    Sign up×
Community /Pin to ProfileBookmark

Only scroll content???

I want the scrollbar to remain on the far right of the browser. But when scrolled i only want the content (which is in one single content div) to move…

Is this even possible…

Please help

to post a comment

5 Comments(s)

Copy linkTweet thisAlerts:
@TJ111Aug 06.2007 — <i>
</i>#contentDiv {
Copy linkTweet thisAlerts:
@padiqauthorAug 06.2007 — Thanx...

But that makes it everything else scroll while the content stays still..

I want the content to scroll while everything else stays still...

The background is easy to keep fixed so i've done that...now its just the header and nav...and if i add the property u mentioned to them then they get all weird and change sizes...
Copy linkTweet thisAlerts:
@padiqauthorAug 06.2007 — dont worry about the last post...

New problem: When i enter the value for "left" and "top".... the "top" is fine because it remains consistent. But when u resize the window the 'left' position will stay the same....i hope this makes sense...

[B][U]basically what i am asking is: how do i make it so instead of the "left" vallue being relative to the left edge of the browser can i make it relative to the left edge of its containing div????[/U][/B]
Copy linkTweet thisAlerts:
@padiqauthorAug 06.2007 — Have a look::: and u'll see what i mean CLICK HERE
Copy linkTweet thisAlerts:
@TJ111Aug 07.2007 — The best bet is to probably use % to define where you want it on the page, or put it in a "wrapper" div that bumps it out to the spot you want it. No matter what you do, it will probably be in a slightly different spot on all the different browsers.


Help @padiq spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 10.3,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ

legal: ({
terms: of use,
privacy: policy
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
recent_tips: (
tipper: @ddiebold17,
tipped: article
amount: 1000 SATS,

tipper: @Mqlinka19,
tipped: live stream
amount: 4900 SATS,

tipper: @Mqlinka19,
tipped: article
amount: 10 SATS,