求帮助求解决啊,催的紧啊
做了个登录页,开始底部有空白,加了个js高度控制,后来问题是在兼容模式下图片各种错位,求高手帮忙解决啊,我初学不太熟练,或者帮我改成div+css的,谢谢各位,急用
非兼容模式是这样:
显示正常
兼容模式下就成了这样子:
下面是代码:
----------------------分割线-------------------------------------
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="LOGIN.login" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<%=CssPath%>base.css" rel="stylesheet" type="text/css" />
<link href="<%=HwuiPath%>themes/blue/css/hwui-all.css" rel="stylesheet" />
<script src="<%=JSPath%>jquery-1.7.2.min.js"></script>
<script src="<%=HwuiPath%>hwui.min.js"></script>
<title>登录页</title>
<style type="text/css">
.userInfo
{
color: #275a79;
font-size: 12px;
}
.banquan
{
color: #275a79;
height: 30px;
font-size: 12px;
}
.user
{
width: 130px;
height: 18px;
border: solid 1px #62a5d9;
font-size: 12px;
color: #275a79;
line-height: 18px;
}
.top
{