开发者

DIV positioning issue

In this website: bgflirt.com

There is a 200px width div co开发者_C百科ntaining TEST: <div style="width:200px;">TEST</div>. I need this div to be positioned as a column ot the right side of the content below the menu. No matter what I do it just keeps staying below it. I need it along side of it. The middle part must still be able to resize freely. Any ideas ?


The sibling element #content is not allowing any room for this element. Try this.

  1. Assign position:relative to #content_wrap

  2. Assign margin-right:200px to #content

  3. Assign position:absolute; top:0px right:0px; to your <div style="width:200px;">TEST</div> element.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜