wfrisson Posted July 12, 2011 Share Posted July 12, 2011 hi i have main div which has two divs inside, the problem is when the upper div expands with the contents, it overlap the lower div which is immediately below that upper div, what i want that when the upper div expands, the lover div should be repositioned accordingly but not lay behind the upper div...reply plz Quote Link to comment https://forums.phpfreaks.com/topic/241821-divs-are-collapsed/ Share on other sites More sharing options...
AyKay47 Posted July 12, 2011 Share Posted July 12, 2011 code please Quote Link to comment https://forums.phpfreaks.com/topic/241821-divs-are-collapsed/#findComment-1241890 Share on other sites More sharing options...
ZulfadlyAshBurn Posted July 16, 2011 Share Posted July 16, 2011 do you use css to hide your code or js? use display: none; when hide and use display: block; if you want it to appear. using jQuery can help improve if you want to have transitions and all. Quote Link to comment https://forums.phpfreaks.com/topic/241821-divs-are-collapsed/#findComment-1243509 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.