用div+css布局

来源:百度知道 编辑:UC知道 时间:2024/05/12 03:42:59
<tr bgcolor="#FFFFFF">
<td colspan="2"><table width="100%" border="0" cellpadding="0" cellspacing="3" bgcolor="#3969B7">
<tr>
<td height="20" bgcolor="#3969B7"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="14%"><font color="#FFFFFF" style="font-size:14px;font-weight: bold; ">快贴旗舰店铺</font></td>
<td width="41%" height="20" bgcolor="#FFFFFF"><div align="center">无限商机尽在信息宜昌网、开通商铺,让客户来找你!</div></td>
<td width="45%" align="right"><font color="#FFFFFF" style="font-size:12px;font-weight: bold; ">电脑维修 |

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>test</title>
</head>
<body>
<div style="width:950px; height:auto;; background-color:#3969B7; margin:10px auto;">
<div>
<ul style="float:right; list-style:none; margin:0px;">
<li style="float:left; display:block; line-height:35px; margin:0 10px; background-color:#3969B7;">快贴旗舰店铺</li>
<li style="background-color:#FFFFFF; line-height