当前位置: 代码迷 >> ASP >> DIV+CSS在IE7下显示不正常解决方案
  详细解决方案

DIV+CSS在IE7下显示不正常解决方案

热度:259   发布时间:2013-10-21 17:00:48.0
DIV+CSS在IE7下显示不正常
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MonitorOutListQuery.aspx.cs" Inherits="WTGS.ZHJC.Web.Toll.MonitorOutListQuery" %>

<%@ OutputCache Location="None" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <script src="../JS/Public.js" type="text/javascript"></script>
    <script src="../JS/Calendar.js" type="text/javascript"></script>    
    <script src="OutListQuery.js" type="text/javascript"></script>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
    <link href="../Css/Style.css" rel="stylesheet" type="text/css" />

    <style  type="text/css">

        .msg_container {
            display:inline-block;
            font-family: 微软雅黑;  
            font-size:12px;
            height:27px;
            min-width:430px;
            width:430px;
            *display:inline;
        }
        .msg_container>label{
            display:inline-block;
            width: 120px;
            text-align:right;
             *display:inline;
        }
        #wCkl_UserType>label{
            margin-right:5px;
        }
        .syTitle {
            display:block;
            font-family: 微软雅黑;  
            font-size:12px;
            line-height:24px;
        }
        .btn_container {
            text-align:center;
        }
        .msg_block {
            display:block;
            width:1320px;
            height:auto;
        }
        .special-div{
            display:inline-block;
            *display:inline;
            width:200px;
        }
        .radioAlign>label{
            width:150px;
            text-align:right;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div id="div_Top" style="height: 1px;">
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="updatePanel_message" runat="server" RenderMode="Inline">
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="btnCancel" EventName="Click" />
                </Triggers>
            </asp:UpdatePanel>
        </div>
        <div id="div_container">
  相关解决方案