Scrolling layer inside centered table

Posted on 2005-05-10
Last Modified: 2010-04-06
Arghh, I'm having problems again with this scrolling layer.  It sits within a cell in a table which is centered horizontally and vertically.  On refreshing the page, the layer is situated in the correct position, as the browser window resizes, it goes moves out of the table.  I need this to snap in place regardless of the resolution etc.  How can I achieve this with what i have so far?

<div style="position:relative; width:393px; height:420px; z-index:1; overflow: auto;">
Question by:aspguru28

    Author Comment

    I just figured out you need to remove position

    Accepted Solution

    The question has been PAQ'd and the 500 points have been refunded.
    Community Support Moderator

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
    Preface In the first article: A Better Website Login System ( I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
    Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now