Head
Head

Reputation: 568

Simple border colors not working for IE7

#skiptrace {
  border-top: #FFFFFF; 
  border-left: #FFFFFF;
  border-right: #FFFFFF;
  border-bottom: #FFFFFF;
  width: 731px;
  height: 900px; 
}

the border still appears on my div below in IE.

I'm trying to incorporate

<!--[if IE]><style type="text/css">.pie, #skiptrace {behavior:url(PIE.htc);}</style><![endif]-->
<!--[if IE 7]><html class="ie7 oldie"> <![endif]-->

from this website.. which is pretty nice http://css3pie.com/

<div id="skiptrace">
  <iframe name="my_iframe" src="" id="skiptrace"></iframe>
</div>

Upvotes: 0

Views: 594

Answers (1)

Miguel Tavares
Miguel Tavares

Reputation: 715

Try using it this way:

<style type="text/css">
#skiptrace {
     border:1px solid #FFF;
     behavior:url(PIE.htc);
}
</style>

NOTE: PIE.htc is relative to document not the CSS file.

Upvotes: 1

Related Questions