日期:2014-04-23  浏览次数:21397 次

<!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" />
    <meta http-equiv="Content-Language" content="zh-CN" />
    <title>DIV+CSS仿microsoft首页下部</title>
    <style type="text/css">
<!--
#dotmid
{
}
#dotMid ul
{
 float:left; margin-left:10px;
}
#dotMid li
{
 width:100px; float:none; height:40px; background:#ccc; border:solid 1px #000; border-left:none;border-right:none; cursor:pointer; position:relative;
}
#dotMid li:hover
{
 background:red;
}
#dotMid li div{
width:300px; height:250px;background:red;text-align:center; color:#fff;
}
#dotMid li #dot1
{
 display:block; position:absolute; left:100px;
}
#dotMid li #dot2
{
 display:none; position:absolute; left:100px; top:-42px;
}
#dotMid li #dot3
{
 display:none; position:absolute; left:100px; top:-84px;
}
#dotMid li #dot4
{
 display:none; position:absolute; left:100px; top:-126px;
}
#dotMid li #dot5
{
 display:none; position:absolute; left:100px; top:-168px;
}
#dotMid li #dot6
{
 display:none; position:absolute; left:100px; top:-210px;
}
#dotMid li:hover #dot1
{
 display:block;
}
#dotMid li:hover #dot2
{
 display:block;
}
#dotMid li:hover #dot3
{
 display:block;
}
#dotMid li:hover #dot4
{
 display:block;
}
#dotMid li:hover #dot5
{
 display:block;
}
#dotMid li:hover #dot6
{
 display:block;
}
-->
</style>
</head>
<body>
    <div id="dotMid">
        <ul id="">
            <li>栏目1<div id="dot1">
                我的朋友</div>
            </li>
            <li>栏目2<div id="dot2">
                经典</div>
            </li>
            <li>栏目3<div id="dot3">
                Arsan</div>
            </li>
            <li>栏目4<div id="dot4">
                Esun</div>
            </li>
            <li>栏目5<div id="dot5">
                论坛</div>
            </li>
            <li>栏目6<div id="dot6">
    &n