Solved

Div Below Absolute Positioned Div

Posted on 2015-01-03
3
126 Views
Last Modified: 2015-01-09
I have a div that is absolute positioned under my header.
The divs Below the absolute positioned Div Keep sliding up underneath the absolute Div.  How do I fix this?
0
Comment
Question by:rgranlund
[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
3 Comments
 
LVL 16

Expert Comment

by:SSupreme
ID: 40529541
I think you can create padding or margin for normal divs, another strange solution would be creating invisible normal div with size of the absolute div and positioned at same place.
Absolute positioning does what it was made for. Might be you need alternative method to achieve a wanted result.
0
 
LVL 7

Author Comment

by:rgranlund
ID: 40529546
I figured it out.  However, when I decease the size of the screan, the div below does not move up to stay under the top div
0
 
LVL 16

Accepted Solution

by:
SSupreme earned 500 total points
ID: 40529960
I guess there is not enough space  for block of divs could be because another div shifts down.
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Boolean 13 48
WordPress Blog (CSS?) to Suppress Automatic Hyphenation 6 32
Developers / Staff Setup 10 40
Why is my select returning NaN 21 35
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

737 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