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 2 of 2
  1. #1
    Senior Member RDesignista's Avatar
    Join Date
    Feb 2012
    Coconut Tree City
    Member #
    123 times
    Hi everyone,

    Trying to get a frame around the main content are of a site, using an image. To make the frame appropriate, a repeat is necessary for the left and right sides, to ensure that the image is a reasonable size and so that the frame will stretch to the content size, no matter the height.

    Right now, I'm leaving margins on the child div, so that the parent div is revealed underneath. However, I'd like to overlay the parent div over the child if possible. Why the parent div? Because as a parent div, it automatically expand to the height and width of the child div.

    I tried playing with z-index... but it's a no go.




  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Not from USA
    Member #
    2783 times
    If you're using absolute positioning on the child div, and it sounds like you may be, take it out.
    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)

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
All times are GMT -6. The time now is 02:28 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: