1 Add a meta tag to HTML files for requesting proper IE feature level.

2 Modify all CSS style declarations to use rem instead of px.
This commit is contained in:
Hu Minghao 2020-02-21 19:09:20 +08:00
Родитель 9ecb8db4c9
Коммит 1817379196
2 изменённых файлов: 17 добавлений и 16 удалений

Просмотреть файл

@ -360,9 +360,9 @@ function MulselShow()
confirmdiv.align = "right"; confirmdiv.align = "right";
confirminput.type = "button" confirminput.type = "button"
confirminput.style.width = "auto"; confirminput.style.width = "auto";
confirminput.style.height = "18px"; confirminput.style.height = "auto";
confirminput.value = "OK"; confirminput.value = "OK";
confirminput.style.fontSize = '12px'; confirminput.style.fontSize = '0.75rem';
confirminput.onclick = function () { FilterLog(this); } confirminput.onclick = function () { FilterLog(this); }
confirmdiv.appendChild(confirminput); confirmdiv.appendChild(confirminput);
typesdiv.appendChild(confirmdiv); typesdiv.appendChild(confirmdiv);

Просмотреть файл

@ -3,6 +3,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<title></title> <title></title>
<style type="text/css"> <style type="text/css">
h1 {margin-bottom:0;} h1 {margin-bottom:0;}
@ -16,7 +17,7 @@ h1.title{
color: #1382CE; color: #1382CE;
font-family:Arial,Verdana,Sans-serif; font-family:Arial,Verdana,Sans-serif;
font-weight: bold; font-weight: bold;
font-size:20px; font-size:1.25rem;
} }
div.frame { div.frame {
@ -26,26 +27,26 @@ div.frame {
font-size: 110%; font-size: 110%;
filter: alpha(opacity=30); filter: alpha(opacity=30);
border:none; border:none;
padding:5px 5px 5px 5px; padding:0.3125rem 0.3125rem 0.3125rem 0.3125rem;
background-color:#1382CE; background-color:#1382CE;
} }
div.filter { div.filter {
background-color:White; background-color:White;
border:1px solid; border:0.0625rem solid;
border-color:grey; border-color:grey;
font-size:10px; font-size:0.625rem;
position:absolute;left:20px; position:absolute;left:1.25rem;
margin-left:65px; margin-left:4.0625rem;
padding-right:5px; padding-right:0.3125rem;
padding-bottom:5px; padding-bottom:0.3125rem;
} }
div.filterframe { div.filterframe {
font-size:12px; font-size:0.75rem;
font-weight: bold; font-weight: bold;
margin-left:20px; margin-left:1.25rem;
} }
div { div {
@ -53,12 +54,12 @@ div {
} }
div.sub { div.sub {
margin-left:20px; margin-left:1.25rem;
} }
img.small{ img.small{
vertical-align:1px; vertical-align:0.0625rem;
margin-right:6px; margin-right:0.375rem;
} }
</style> </style>
@ -67,7 +68,7 @@ img.small{
<body> <body>
<h1 align="center" class="title" id="right_sidebar_case_title"></h1> <h1 align="center" class="title" id="right_sidebar_case_title"></h1>
<p align="left" id="casetime" style="font-size:12px"></p> <p align="left" id="casetime" style="font-size:0.75rem"></p>
<div id="log"> <div id="log">
</div> </div>
</body> </body>