Solved

Content Stay even while scrolling page.

Posted on 2008-10-29
3
697 Views
Last Modified: 2013-11-19
I have a box that has buttons and possible input area for text.

I need to have this box stay at its current location *even* if the page/browser is being scrolled.

So all the other content is being scrolled this box stay put.

Is there a way to do this... I don't know what to search on.  Everything I search on brings back products about menus staying put while scrolling.

Any one have code or example or pointers to the right search terms to do this?

thanks so much for any help :)

Angela
0
Comment
Question by:angelalaw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 16

Accepted Solution

by:
sh0e earned 500 total points
ID: 22837623
Add CSS style: style="position:fixed"
<div style="position:fixed; top:50;left:50;"><img src="http://www.google.com/images/nav_logo3.png"/><b>hello wolrd</b></div>
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>

Open in new window

0
 
LVL 16

Expert Comment

by:Lolly-Ink
ID: 22837728
Check out the box (and the code behind it) on this page:
http://home.tampabay.rr.com/bmerkey/examples/fake-position-fixed.html
0
 

Author Closing Comment

by:angelalaw
ID: 31511528
Thank you very much :)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question