homepage Welcome to WebmasterWorld Guest from 50.17.7.84
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
IE8 outputting from localhost VS outputting live from server
Rounded corners do not work live!
henry0




msg:4432609
 3:31 pm on Mar 23, 2012 (gmt 0)

I try to fight IE8 non css3 compliance to border-radius
by using PIE.htc
I have a machine running XP and IE8 displaying the rounded corners perfectly. if I use any other machines running Wins7 and any browsers, indeed, it works fine.

if I upload it and try IE8 outputting from my server then it does not work.

I know IE8 does not support rounded corners however when using PIE it should work as it works on my local IE8
any thoughts?

.round_box {
border:2px solid #a1a1a1;
padding:10px 35px;
margin-left:2px;
width:763px;
background:#f7f7f7;
position:relative;
border-radius:25px;
behavior: url(/PIE.htc);
}

 

rainborick




msg:4432635
 4:44 pm on Mar 23, 2012 (gmt 0)

IE probably isn't finding PIE.htc from your stylesheet because the relative URL for behavior: resovles differently on the two systems. Use a complete URL and I bet it works the same on both.

henry0




msg:4432947
 12:23 pm on Mar 24, 2012 (gmt 0)

Ah! Thanks, you made me search even further.

I made it, here are a few pointers for trouble shooting
behavior url with ".htc" extension

1) server confic does not recognize .htc
2) in a PHP environment upload also PIE.php and follow instruction.(Worked in my PHP environment)
3) you might give a try to the uncompressed .htc
4) toy with real path

Conclusion: PIE is the only method that I could make working with IE8

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved