开发者

Align sibling divs right while jQuery expands width

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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜