|
1
求。。求解
|
|
123456Jun 21, 2012
2
float
|
|
qiayueJun 21, 2012
3
|
|
qiayueJun 21, 2012
4
|
|
NemoAlexJun 21, 2012
5
没有办法实现,不可以这样布局哦
|
|
zooandzooJun 21, 2012
6
参照,http://stackoverflow.com/questions/499829/css-wrap-text-around-a-bottom-right-div
意思说放一个空的DIV把那个IMG顶下去: 如: <div> <div style="float:right;height:100px;width:1px;"><!--图片--></div> <div style="float:right;height:250px;width:250px;clear:right;"><!--广告代码,firefox和opera还有少量偏差,需要另外调整,就不写了,基本可以。--></div> <p>文章正文部分</p> </div> 前提你要知道内容高度,要不就用JS控制高度。。貌似见过许多这样布局的你可以看他们的代码啊 |
|
zooandzooJun 21, 2012
9
<div style="float:right;height:100px;width:1px;"><!--图片--></div> 改成<div style="float:right;height:100px;width:1px;"></div>
|
|
zooandzooJun 21, 2012
10
好像不行。。。
|
|
12
把浮动的 <img> 放在「分享型主题」那个 <li> 的后面即可。
|
|
cutehaloJun 21, 2012
13
怎么看着好像百度百科的排版。。。
|
|
14
|
|
lianghaiJun 21, 2012
15
CSS 提供 float 这个属性就是为了提供这种排版效果。各位需要重新学习这一部分 CSS 知识了。
|
|
NemoAlexJun 21, 2012
16
再仔细看了一遍楼主发的帖子
确认楼主想要的效果我没有很好的办法实现 如果用一些丑陋的办法的话,则会有一些局限性,例如要求容器定高之类的 |
|
romooJun 21, 2012
20
「如何让文字浮动在图片的左上角」也就是说文本和图片底端对齐?
文本字数不确定的情况下,只用 CSS 不好实现。 |