Solved

Div Below Absolute Positioned Div

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

911 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

17 Experts available now in Live!

Get 1:1 Help Now