1

Possible Duplicate:
Support for “border-radius” in IE

I have a problem while creating a website in IE

-moz-border-radius:8px;
border-radius:8px;

Is there any way to implement border-radius in IE 8? And does anyone know how to implement the transparency of border?

Community
  • 1
  • 1
dean
  • 61
  • 1
  • 3
  • 8
  • i put this but not working in IE 8 and before ... – dean Oct 01 '12 at 12:30
  • 1
    You put what into ie8 before? The other question? You'll find the answers you need in that other question -- this has been covered frequently on this site. – tkone Oct 01 '12 at 12:32

2 Answers2

5

You can cobble the border-radius on using an .htc file. I'd go with CSS3PIE - http://css3pie.com/ but there are others available - http://code.google.com/p/curved-corner/downloads/detail?name=border-radius.htc

Upload the file to your server to the websites root, then in any CSS selector with border-radius applied add this

behavior: url(path/to/PIE.htc);

NOTE:

Due to some classic Microsoft guff, .htc files paths must point to the root of the server. They are NOT relative to the CSS file.

SpaceBeers
  • 13,617
  • 6
  • 47
  • 61
  • 1
    Yeah this will fix that. Just follow the instructions in the answer. – SpaceBeers Oct 01 '12 at 12:37
  • for which version it support of IE – dean Oct 01 '12 at 12:43
  • Not 100% but I think it goes as far back as 6 if you're still supporting that. – SpaceBeers Oct 01 '12 at 12:44
  • and about the border transparency ?? – dean Oct 01 '12 at 12:46
  • I can't comment without seeing more of your code. Just try it. If it doesn't work make a separate question but this will solve the border-radius issue. – SpaceBeers Oct 01 '12 at 12:48
  • thanks man ... about my code i'm using this code for opacity background-clip: padding-box; background-color: #FFFFFF; border: 5pt solid rgba(0, 0, 0, 0.5); border-radius: 5px 5px 5px 5px; color: #BBBBBB; height: auto; max-width: 800px; – dean Oct 01 '12 at 12:54
  • If it's still an issue set it up as a new question, you'll get more help that way... – SpaceBeers Oct 01 '12 at 12:55
0

IE8 don't support border-radius: so you may try http://css3pie.com/

madhushankarox
  • 1,448
  • 1
  • 13
  • 17