css实现html的图文混排

星期五, 2012-11-02 | Author: Lee | pagemaker | 7,412 views

直接上代码吧,看着就明白了

左环绕:<div style="float:left; clear: both;" align="center"><img src=xx.jpg width="600" height="400" alt="1234"><br/>
图像标题</div>
右环绕:<div style="float:right; clear: both;" align="center"><img src="xx.gif" width="176" height="141"><br/>
图像标题</div>
独占一行:<div style="float:none; clear: both;" align="center"><img src="xx.jpg" width="400" height="300"><br/>
图像标题</div>

Tags: , , , ,

文章作者: Lee

本文地址: https://www.pomelolee.com/1043.html

除非注明,Pomelo Lee文章均为原创,转载请以链接形式标明本文地址

No comments yet.

Leave a comment

Search

文章分类

Links

Meta