Solved

Div Below Absolute Positioned Div

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
.htaccess css/images no longer loading 4 40
return false must be hit after calling certain command 10 33
Ouput in html in powershell 2 21
Wordpress Hacked 1 52
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

820 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