Solved

Overlapping Window html/css

Posted on 2012-04-03
4
259 Views
Last Modified: 2012-04-08
I have a div containing an image. I want to place another div on top of the first div with instructions and a dismiss button. It must not be an alert window. It must scroll and remain in the same place if the parent window is resized. I know how to dismiss the top window. I have tried style position=relative: messes the rest of form, absolute: goes bad when resize window.
0
Comment
Question by:wagazub
  • 2
4 Comments
 
LVL 40

Expert Comment

by:gurvinder372
ID: 37800623
0
 
LVL 8

Expert Comment

by:PagodNaUtak
ID: 37800634
Sample page?
0
 

Accepted Solution

by:
wagazub earned 0 total points
ID: 37800808
Found the answer

<div style="position:relative;">

      <a ...... /> </a>

<div id="helper"  
        style="  position:absolute; left:50px; top:50px; width:300px;
</div>
</div>

Now the contained window is relative to the container. Jeez. Who would have known.
0
 

Author Closing Comment

by:wagazub
ID: 37820829
css is a bit opaque. Found this solution after searching and messing about for n hours.

See http://www.barelyfitz.com/screencast/html-training/css/positioning/
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

830 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