css问题,div被遮挡

html-css017

css问题,div被遮挡,第1张

建议最好使用内边距…IE6对外边距非常敏感并且一点规矩也不守…外边距这IE6经常发神经

在定位的时候要定准确

这该死的IE6神马时候才从盗版的XP系统中全军覆没啊……………………

<!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" xml:lang="en" lang="en">

<head>

<title>test</title>

<style>

body {

margin: 0px

FONT-SIZE: 12px

font-family:宋体,arial

}

a:link {color:#000000text-decoration:none}

a:visited {color:#666666text-decoration:none}

a:hover {color:#FF0000text-decoration:underline}

#line01{width:950pxmargin:0 auto}

#logo{width:180pxheight:66px}

#menu01,#menu02,#menu03,#menu04{width:770pxmargin:0 autotext-align:center}

</style>

</head>

<body>

<div id="line01">

<div id="logo"><img src="image/logo.gif" alt="安得屋" longdesc="http://www.and5.com.cn" /></div>

<div id="menu01">http://www.and5.com.cn</div>

<div id="menu02">http://www.and5.com.cn</div>

<div id="menu03">http://www.and5.com.cn</div>

<div id="menu04">http://www.and5.com.cn</div>

</div>

</body>

</html>