I would like to add another option as shown below:
#header-left-section {
float: left;
position: absolute;
z-index: 1000;
}
#header-right-section {
height: 90px;
width:100%;
position: relative;
overflow: hidden;
}
#header-right-section ins,
#header-right-section div{float:right}
The left div just takes up enough space for its inner stuff. The right side is 100% of the width, and the left side remains above it only on the left (by z-index). The last line of css is just to make the inner stuff if the right div will float to the right.
source
share