美工做好了html,我考到aspx中就变形了!!所引用的css也都拷过去了!这点事肯定的!我重新弄个html和aspx,分别都考过去试了一下,在html中没有问题!!但是只要到了aspx中就不行了!!
请高手指点!!
在http://topic.csdn.net/u/20090420/17/6fc888bb-ef3a-489b-a02f-3ddeed7a3240.html中的方法我都试过了,还是不行!!!!!!!
请高手指点!!
在http://topic.csdn.net/u/20090420/17/6fc888bb-ef3a-489b-a02f-3ddeed7a3240.html中的方法我都试过了,还是不行!!!!!!!
还是贴代码上来看看咯!!
2,样式用的是内联还是级联
3,检查一下,必有一处有问题
4,必要的话,查看属性页的设置
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
<link href="css/head.css" rel="stylesheet" type="text/css" />
<link href="css/bottom.css" rel="stylesheet" type="text/css" />
<link href="css/body.css" rel="stylesheet" type="text/css" />
<link href="css/meidicine_rank.css" rel="stylesheet" type="text/css" />
<link href="css/recommand_medicine.css" rel="stylesheet" type="text/css" />
<link href="css/drugStore.css" rel="stylesheet" type="text/css" />
</head>
这个是html的头部<!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>
<title>无标题页</title>
<link href="css/head.css" rel="stylesheet" type="text/css" />
<link href="css/bottom.css" rel="stylesheet" type="text/css" />
<link href="css/body.css" rel="stylesheet" type="text/css" />
<link href="css/meidicine_rank.css" rel="stylesheet" type="text/css" />
<link href="css/recommand_medicine.css" rel="stylesheet" type="text/css" />
<link href="css/drugStore.css" rel="stylesheet" type="text/css" />
</head>
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
当把后一个utf-8改成gb2312后样式部分正常,但是还有相当的一部分不正常!!!!!
或者强制
Html的内容可以用GB2312码,也可用UTF-8码,
用<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=utf-8"> 的方法告诉浏览器.
以前也碰到过这种情况 - -
http://www.mybuffet.cn
然后你再看看URL是否正确。CSS里的图片地址等等 ,另外图片有没有拷全。
这个同样不管用!!
css的编码的问题???
改了之后怎么还是不行呢??