03-18-2008, 07:44 PM
|
#1 (permalink)
|
|
The Acquainted
Join Date: Feb 2008
Posts: 119
Thanks: 17
|
display:block pushes divs
Hi
I have 2 divs. One div is a wrapper and another one is inside the wrapper and it has display:none.
Then with some javascript I change it to display:block.
Then I have several divs below this hidden div.
The problem is that when this div is displayed the other divs (those that are below it) are pushed down. What should I do to prevent this?
Also if I put this div outside the wrapper it won't be center as the wrapper centers the whole thing.
|
|
|
|