I have tried things like using position absolute on one and position relative on the other but it always messes up one so that it overflows even though i have set overflow to hi