小编Joe*_*gle的帖子

IE中有两个垂直滚动条

嗨我的代码在Firefox中正常工作,但在IE中我得到默认的垂直滚动条.当我最小化页面时,我得到了我想要的垂直和水平滚动条,但在IE中我得到了一个额外的垂直滚动条.我怎样才能在IE中摆脱它?我正在使用CSS重置.这是我的CSS:

html,body,div,span,applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,code,
del,dfn,em,img,ins,kbd,q,s,samp,
small,strike,strong,sub,sup,tt,var,
b,u,i,center,
dl,dt,dd,ol,ul,li,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td,
article,aside,canvas,details,figcaption,figure,
footer,header,hgroup,menu,nav,section,summary,
time,mark,audio,video{
    margin:0;
    padding:0;
    border:0;
    outline:0;
    /*font:inherit;*/
    font-size:100%;
    vertical-align:baseline;
    text-decoration:none;
}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section{
    display:block;
}
body{
    line-height:1;
}
ol,ul{
    /*list-style:none;*/
}
blockquote,q{
    quotes:none;
}
blockquote:before,blockquote:after,
q:before,q:after{
    content:’’;
    content:none;
}
/* remember to define visible focus styles! 
:focus{
    outline:?????;
} */

/* remember to highlight inserts somehow! */
ins{
    text-decoration:none;
}
del{
    text-decoration:line-through;
}

table{
    border-collapse:collapse;
    border-spacing:0;
}

/*CUSTOM*/

a {
    /*color:#365C8C;*/ …
Run Code Online (Sandbox Code Playgroud)

html css internet-explorer

4
推荐指数
1
解决办法
8839
查看次数

如何将一个元素重叠到另一个元素上

嗨,我有一条<hr>线横跨页面,但我认为它不断被上面的图像切断。有谁知道我怎样才能使<hr>线条与图像重叠?

<img src=".\pncwelcome.png" 
    style="float:right; clear:right; margin-top:-40px;" 
    alt="PNC Welcome Logo"/>
<hr color="black" 
    style="margin-top:30px;" />
Run Code Online (Sandbox Code Playgroud)

html css

3
推荐指数
1
解决办法
8059
查看次数

Firefox无法检测到我的css文件,但IE可以

Firefox无法检测我的CSS文件,但IE可以.有谁知道我怎么解决这个问题?

<!DOCTYPE html>
<html>
 <head>
  <title>Pathfinder Outage Page</title>
  <meta charset=utf-8 />
  <LINK REL=StyleSheet HREF="c:\documents and settings\Desktop\Outage_Page\swanstyle.css" TYPE="text/css">
 </head>
Run Code Online (Sandbox Code Playgroud)

html css url

0
推荐指数
1
解决办法
306
查看次数

Javascript InnerHTML文本没有变化

由于某种原因,ID= employer不会改变为employerCont(这是34.07.它只是继续说test1.有谁知道为什么?

<div id="main" style="background-color:#F0F0F0; width:500px; height:500px;">&nbsp;</div>
<div id="content" style="background-color:gray; width:500px; height:500px;">
<p id="employer">test1</p>
<p id="employee">test2</p>
</div>

<script src="C:\Documents and Settings\zx08067\Desktop\HSA_RaphaelGraph\raphael.js"></script>
<script src="C:\Documents and Settings\zx08067\Desktop\HSA_RaphaelGraph\g.raphael.js"></script>
<script language="javascript">

function calculatePercentages (var EE, var ER) {
    var sum = EE + ER;
    var EE_perc = EE / sum;
    var ER_perc = ER / sum;

}

//employee and employer contributions
var employeeCont = 251.34;
var employerCont = 34.07;

document.getElementById("employer").innerHTML = employerCont;

calculatePercentages(employeeCont, employerCont);

var tee=[0,0,500,500, 
{type:"path", path:"M58.5,50, …
Run Code Online (Sandbox Code Playgroud)

html javascript

0
推荐指数
1
解决办法
1204
查看次数

使用OR选择字段多次

我想写一个类似于这样的查询:

Select * from table where EMPLID = 1 OR EMPLID = 2 OR EMPLID = 3 OR EMPLID = 4;
Run Code Online (Sandbox Code Playgroud)

有没有简单的方法可以解决这个问题,还是我必须为每个案例使用OR?

sql

-4
推荐指数
1
解决办法
55
查看次数

标签 统计

html ×4

css ×3

internet-explorer ×1

javascript ×1

sql ×1

url ×1