TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Add support for CSS3 properties to IE6-8 with CSS3PIE

67 pointsby jonasvpover 14 years ago

7 comments

nikzover 14 years ago
Be careful with this. We've used it on a number of sites, and whilst overall it's beneficial, there are a number of weird things to watch out for.<p>For instance:<p><pre><code> - Don't add rounded corners to a &#60;table&#62; element - this will crash at least IE7 on XP - Don't try to rounded corners an element you've hidden with the "left offset" technique (position: absolute; left: -9999px;). This will crash at least IE7 on XP. </code></pre> I think there a few others I have since erased from my brain due to IE-induced PTSD. YMMV.
jonasvpover 14 years ago
I'm submitting this again, even though it already got lost in the "new" queue once (<a href="http://news.ycombinator.com/item?id=1736030" rel="nofollow">http://news.ycombinator.com/item?id=1736030</a>) because it's an amazing solution to a common problem. It helped me tremendously and mentioning it in another thread seemed to have helped others (<a href="http://news.ycombinator.com/item?id=2085671" rel="nofollow">http://news.ycombinator.com/item?id=2085671</a>).
评论 #2086710 未加载
评论 #2086520 未加载
igraviousover 14 years ago
What kind of black magic voodoo is:<p><pre><code> behavior: url(PIE.htc); </code></pre> Javascript-y?
评论 #2086705 未加载
评论 #2086702 未加载
wdewindover 14 years ago
66kb of JS (compressed) is a bit much, this should be broken down piece meal so you can do JUST rounded corners, drop shadow, etc. Would be much more useful that way (rounded corners I'd imagine account for vast majority of the use cases). Cool though.
mambodogover 14 years ago
I've tried to use this in the not-so-distant past, but unfortunately it introduced all kinds of weird rendering bugs to the site. I hope others have better luck.
vebover 14 years ago
Thank you! :D
mcritzover 14 years ago
Hallelujah!