Solved

Overlapping Window html/css

Posted on 2012-04-03
4
269 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
[X]
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
  • 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Suggested Courses

630 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