Absolutely positioned div on right causing scrollbar when the left doesn't

后端 未结 11 612
被撕碎了的回忆
被撕碎了的回忆 2020-12-31 07:02

I\'m trying to \"flank\" a centered div with some design elements that are absolutely positioned outside the main div\'s width. I\'m getting a scroll bar due to the element

11条回答
  •  执笔经年
    2020-12-31 07:37

    This works in IE6-9, FF3.6, Safari 5, and Chrome 5. Didn't seem to matter what doctype I threw at it(none, xhtml 1 transitional, html5). Hope this helps, that was an interesting problem.

    
    
    
    
    
    
        
    left

提交回复
热议问题