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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
2012 SQL to JSON Select 5 45
JQuery on multiple lines 3 47
ms sql and asp dates 5 42
Checkbox changes display when resizing window 8 26
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System ( introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
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…

739 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