<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www./TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www./1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>圖文混排</title>
<style>
* {
margin:0;
padding:0;
}
body {
background:#fff;
}
#wrap {
width:502px;
margin:10px auto 0 auto;
}
#wrap dl {
width:480px;
margin-bottom:8px;
padding:8px;
border:1px solid #ddd;
}
#wrap dl dt {
float:right;
width:366px;
height:22px;
}
#wrap dl dt a {
font-size:13px;
font-weight:800;
color:#06c;
text-decoration:none;
}
#wrap dl dt a:hover {
text-decoration:underline;
}
#wrap dl dd.pic {
float:left;
}
#wrap dl dd.pic a {
display:block;
border:1px solid #ddd;
}
#wrap dl dd.pic a img {
width:100px;
height:86px;
margin:2px;
border:0;
}
#wrap dl dd.pic a:hover {
border:1px solid #999;
}
#wrap dl dd.text {
float:right;
width:366px;
font-size:12px;
line-height:19px;
color:#666;
text-indent:2em;
}
#wrap dl dd.links {
float:right;
width:366px;
margin-top:-6px;
text-align:right;
}
#wrap dl dd.links a {
font-size:12px;
line-height:15px;
color:#06c;
text-decoration:none;
}
#wrap dl dd.links a:hover {
text-decoration:underline;
}
#wrap dl:after {
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
</style>
</head>
<body>
<div id="wrap">
<dl>
<dt><a href="#" target="_blank">圖文并排好方法</a></dt>
<dd class="pic"><a href="#"><img src="http://www./attachments/month_0807/b200873134052.jpg" alt="1" /></a></dd>
<dd class="text"> 這個(gè)方法確實(shí)不錯(cuò),排版也很漂亮,本CSS代碼來(lái)自52CSS哦,再次推薦一下52CSS算是我的CSS啟蒙老師,那時(shí)候不會(huì)就天天上去看資料,不會(huì)寫(xiě)就天天看CSS樣式表…</dd>
<dd class="links"><a href="#">來(lái)自52CSS</a> <a href="#" target="_blank">點(diǎn)擊訪問(wèn)</a></dd>
</dl>
<dl>
<dt><a href="#" target="_blank">圖文并排好方法</a></dt>
<dd class="pic"><a href="#"><img src="http://www./attachments/month_0807/b200873134052.jpg" alt="1" /></a></dd>
<dd class="text"> 這個(gè)方法確實(shí)不錯(cuò),排版也很漂亮,本CSS代碼來(lái)自52CSS哦,再次推薦一下52CSS算是我的CSS啟蒙老師,那時(shí)候不會(huì)就天天上去看資料,不會(huì)寫(xiě)就天天看CSS樣式表…</dd>
<dd class="links"><a href="#">來(lái)自52CSS</a> <a href="#" target="_blank">點(diǎn)擊訪問(wèn)</a></dd>
</dl>
<dl>
<dt><a href="#" target="_blank">圖文并排好方法</a></dt>
<dd class="pic"><a href="#"><img src="http://www./attachments/month_0807/b200873134052.jpg" alt="1" /></a></dd>
<dd class="text"> 這個(gè)方法確實(shí)不錯(cuò),排版也很漂亮,本CSS代碼來(lái)自52CSS哦,再次推薦一下52CSS算是我的CSS啟蒙老師,那時(shí)候不會(huì)就天天上去看資料,不會(huì)寫(xiě)就天天看CSS樣式表…</dd>
<dd class="links"><a href="#">來(lái)自52CSS</a> <a href="#" target="_blank">點(diǎn)擊訪問(wèn)</a></dd>
</dl>
<dl>
<dt><a href="#" target="_blank">圖文并排好方法</a></dt>
<dd class="pic"><a href="#"><img src="http://www./attachments/month_0807/b200873134052.jpg" alt="1" /></a></dd>
<dd class="text"> 這個(gè)方法確實(shí)不錯(cuò),排版也很漂亮,本CSS代碼來(lái)自52CSS哦,再次推薦一下52CSS算是我的CSS啟蒙老師,那時(shí)候不會(huì)就天天上去看資料,不會(huì)寫(xiě)就天天看CSS樣式表…</dd>
<dd class="links"><a href="#">來(lái)自52CSS</a> <a href="#" target="_blank">點(diǎn)擊訪問(wèn)</a></dd>
</dl>
</div>
</body>
</html>
實(shí)例圖: