Solved

Div Below Absolute Positioned Div

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

786 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