If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Nov 2010
    Member #
    ok I have the main content of my site set up with a width of 960px. I then have a Z-indexed div with an image inside it coming from behind the main content area. I am trying to figure out a way to have the horizontal scrolling ignore the z-indexed image if at all possible. so that you will only get a horizontal scroll bar if the main content needs it but not the z-indexed div. See below:

    The green area is the main content area. The red is the z-indexed image. if the window is being resized I don't want to get a horizontal scroll until it is needed for the green area. and to completely ignore the red area.

    Any suggestions?


  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Not from USA
    Member #
    2784 times
    You're likely looking for a variant of fixed positioning, although I must confess that i don't totally understand the question.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Join Date
    Jan 2011
    Edmonton, Alberta
    Member #
    2 times
    The only thing I can think of is making it a background image in your CSS. The only problem with that is you might not be able to get the proper positioning you want.
    Check out some of my work:

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search tags for this page

what is scroll z-index

Click on a term to search for related topics.
All times are GMT -6. The time now is 02:58 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: