欢迎来到DIVCSS5查找CSS资料与学习DIV CSS布局技术!
<html>
<head>
<style type="text/css">
img 
{
float:right
}
</style>
</head>
 
<body>
<p>在下面的段落中,我们添加了一个样式为 <b>float:right</b> 的图像。结果是这个图像会浮动到段落的右侧。</p>
<p>
<img src="/i/eg_cute.gif" />
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
</p>
</body>
 
</html>

如需转载,请注明文章出处和来源网址:http://www.divcss5.com/shili/s53606.shtml