Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Overlapping Window html/css

Posted on 2012-04-03
4
Medium Priority
?
275 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:Gurvinder Pal Singh
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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

This article discusses how to implement server side field validation and display customized error messages to the client.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

670 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