fixed div even when page is scrolling

Posted on 2009-07-10
Last Modified: 2013-11-19
I have a asp page where I need to create a fixed div to show some static content on the right side of the page. I want this to be seen even when users are scrolling over the page so that this div stays in same position.  
Question by:ChekKus
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
  • 2

Expert Comment

ID: 24825645


Open in new window


Author Comment

ID: 24825674
seems like this will keep the div in fixed position. But, it does not scroll the div when I scroll the page.

Expert Comment

ID: 24825817
What? I am doing this right now in my browser and the div stays on the page exactly where i have it. it never disappears from the page. Isn't this what you want?

Author Comment

ID: 24826071
    <table width="1024" style="height: 1024;" border="1">
            <td style="width: 60%;">
                    This is a fixed text</h2>
            <td style="width: 40%;">
                <div style="bottom: 10px; left: 0; position: fixed; text-align:center;">
                    this is the text that should be there even if the page scrolls at the fixed position. kind of like a floating div</div>

Accepted Solution

ChekKus earned 0 total points
ID: 24880836
I am looking for something like this.

if you check the right side, the "web development" box remains in same position even when the page is scrolled. any idea how can we do this?

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to create a slidershow with the use of the property cover in css 15 64
MediaWiki - Move a site 4 30
Popup write two lines 3 22
Want an individual results display div 8 40
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

763 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