0

Look at my problem: enter image description here

How to make so that when you open popup window your footer shifted down?

some css here:

#advanced_search_div_body {
height: 100%;
width: 817;
margin: 0 auto;
padding: 0;
display: table;
background-color: white;
}

#foot {
padding: 30px 0px;
background-color: black;
clear: both;
position: relative;
bottom: 0;
width: 100%;
overflow: hidden;
z-index: 2;

}
George Pirkulov
  • 83
  • 4
  • 11

2 Answers2

0

Probably you need to tell footer to be down of the page.

So, basically change #foot position: relative to absolute. Try this:

position:absolute;
width:100%;
bottom:0px;

Or something like:

position:fixed;
bottom:0;
width:100%;
vitdes
  • 124
  • 1
  • 12
  • 1
    maybe this will help http://stackoverflow.com/questions/1488565/how-to-stick-a-footer-to-bottom-in-css – vitdes Aug 28 '13 at 15:10
0

the trick is a pusher div:

body,html{
    height:100%;
    display:block;
}
#pusher{
    display:block;
    min-height:100%;
}

demo: http://jsfiddle.net/nLKLh/1/