DIV代码:如何让CCC里面的a标签靠左显示。
<!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=utf-8" />
<title>无标题文档</title>
<style>
div{
margin:0px;
padding:0px;}
#aaa{
margin:0px;
padding:0px;
width:800px;
height:auto;
border:1px solid #000;
overflow:auto;}
a{
text-align:center;}
#bbb{
margin:5px;
padding:0px;
width:182px;
height:82px;
float:left;
border:1px solid #0F0}
#ccc{
border:1px solid #0F0;
float:left;
text-align:center;
margin:5px;
width:200px;
height:82px;
}
#ccc ul li {
list-style:none;
}
#ccc ul li a{
text-decoration:none;
}
#tip{
font-weight:bold;}
#ddd{
border:1px solid #0F0;
float:left;
margin:5px;
padding:0px;
width:240px;
height:82px;
}
#ddd ul li a
{
text-decoration:none;
margin:2px;
padding:0px;}
#ddd ul li{
list-style:none;
margin:5px;
padding:0px;}
</style>
</head>
<body>
<center>
<div id="aaa">
<div id="bbb">
<img src="../images/QQ截图20121204092220.png" width="182" height="82"/>
</div>
<div id="ccc">
<ul>
<li>
<a href="#" id="tip">新闻</a>
<a href="#">军事</a>
<a href="#">评论</a>
<a href="#">图片</a>
</li>
<li>
<a href="#" id="tip">体育</a>
<a href="#">NBA</a>
<a href="#">中超</a>
<a href="#">英超</a>
</li>
<li>
<a href="#" id="tip">娱乐</a>
<a href="#">电影</a>
<a href="#">电视</a>
<a href="#">音乐</a>
</li>
</ul>
</div>
<div id="ddd">
<ul>
<li>
<a href="#" id="tip">财经</a>
<a href="#">股票</a>
<a href="#">基金</a>
<a href="#">商业</a>
</li>
<li>
<a href="#" id="tip">视频</a>
<a href="#">热点</a>
<a href="#">综艺</a>
<a href="#">纪实</a>
</li>
<li>
<a href="#" id="tip">女人</a>
<a href="#">时尚</a>
<a href="#">美容</a>
<a href="#">情爱</a>
</li>
</ul>
</div>
</div>
</center>
</body>
</html>
------解决方案--------------------<!DOCTYPE html