![]() |
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. |
never mind :)
Just had to put that invisible div into a subwrapper with position: absolute. Worked fine :) |
| All times are GMT. The time now is 04:40 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0