开发者

Make a div-tag come in bottom another div-tag

How is it possible to make a divtag to come under another divtag开发者_如何学Go?

I want to make a bottom list


I am not sure that i understand your question. But here is a try.

Give the first div the css property clear:left

Here is a inline example:

<div style="clear:left">first</div> <div>second</div>


The <div> tag has a "display" style of "block" by default. If you want to stack <div> tags, they you should only have to do the following:
<div> The content of this div will reside above. </div>
<div> the content of this div tag will reside below. </div>

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜