不知道为什么我的网页(div+css)在火狐中显示异常?

来源:百度知道 编辑:UC知道 时间:2024/06/05 16:01:08
<!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>无标题文档</title>
<style type="text/css">
form{
margin:0;
padding:0;
}
a:link,a:visited,a:hover,a:active{
text-decoration:none;
color:#2A3F00;
}

#contain{
width:800px;
margin:0 auto;
}
#header{
width:800px;
height:61px;
}
#headerlogo{
width:175px;
background:url(logo.jpg);
height:61px;
float:left;
}

#glob

<!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>无标题文档</title>
<style type="text/css">
ul{list-style:none;}
form{
margin:0;
padding:0;
}
a:link,a:visited,a:hover,a:active{
text-decoration:none;
color:#2A3F00;
}

#contain{
width:800px;
margin:0 auto;
}
#header{
width:800px;
height:61px;
}
#headerlogo{
width:175px;
background:url(logo.jpg);
height:61px;