Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

Hi,

Please use following:

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



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
 
Share this answer
 
Comments
TheAteist 5-Oct-10 3:35am    
It didn't fixed the problem. ONLY if I change "double" to "solid" the problem is gone

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900