IE8中的边框样式 [英] border style in IE8

查看:262
本文介绍了IE8中的边框样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这一段html:
< div class ="contactFormElement">
< input type ="text" class ="contactFormElement" name ="txtContact"/>
</div>
并且在CSS文件中,我具有以下样式
#divContactForm INPUT.contactFormElement {WIDTH:140px; BORDER:1px double #CCC;}

在IE8中,边框消失了,但是当我将"double"更改为"solid"或其他样式时,将显示边框.
仅在IE8中会发生这种情况,为什么?

谢谢

I have this piece of html:
<div class="contactFormElement">
<input type="text" class="contactFormElement" name="txtContact"/>
</div>
and in CSS file I have following style
#divContactForm INPUT.contactFormElement {WIDTH: 140px; BORDER: 1px double #CCC;}

In IE8, the border disappear, but when I change "double" to "solid" or other style, the border is shown.
This happens only in IE8, why?

Thank you

推荐答案



请使用以下内容:

Hi,

Please use following:

.contactFormElement
       {
           width: 140px;
           border: thick double #CCC;
       }




如有任何疑问,请让我知道.

如果有帮助,请提供"投票",如果这是正确的答案,请提供"接受答案".:rose:

谢谢,
Imdadhusen




Please do let me know, if you have any doubt.

Please provide "Vote" if this would be helpful, and make "Accept Answer" if this would be correct answer.:rose:

Thanks,
Imdadhusen


这篇关于IE8中的边框样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆