Solved

Div Below Absolute Positioned Div

Posted on 2015-01-03
3
119 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
  • 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
This video teaches users how to migrate an existing Wordpress website to a new domain.

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now