http://jsfiddle.net/imHavoc/b8Ktj/10/
The problem is when one div's width expands so does the bounding开发者_JAVA技巧 div, which all the siblings are "left aligned" to. I cannot figure out how to keep the sibling divs aligned to the right while one div's width expands.
Add float: right
and clear: right
to div.navScroll
.
The demo you made after my answer: http://jsfiddle.net/imHavoc/b8Ktj/11/
精彩评论