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 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 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. Link to comment https://forums.phpfreaks.com/topic/241821-divs-are-collapsed/#findComment-1243509 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.