...

View Full Version : CSS3 hacks in IE?



Loic
12-15-2009, 01:37 AM
Hi all, i have been trying to replicate some CSS3 in IE, but so far i have had no luck. Is there a way to do something similar to the code below in IE?



.comment {
background-color: #777777;
padding: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius-topleft: 0px;
-webkit-border-top-left-radius: 0px;
border-radius: 10px;
border-radius-topleft: 0px;
-moz-box-shadow: 0 0 5px #000;
-webkit-box-shadow: 0 0 5px #000;
box-shadow: 0 0 5px #000;
}
.comment:hover {
-moz-box-shadow: 0 0 5px #0cf;
-webkit-box-shadow: 0 0 5px #0cf;
box-shadow: 0 0 5px #0cf;
}I have been playing around with "FILTER: GLOW()" But have had no luck. Is it possible?

Excavator
12-15-2009, 02:15 AM
Hello Loic,
Support for CSS3 is pretty sketchy right now. I would not expect IE to be able to do much with it at all.
Have a look here - http://www.webdevout.net/browser-support-css

Loic
12-15-2009, 02:28 AM
Hello Loic,
Support for CSS3 is pretty sketchy right now. I would not expect IE to be able to do much with it at all.
Have a look here - http://www.webdevout.net/browser-support-css

That's a shame, i just started playing around with it, and you can really do some cool things.

you wouldn't happen to know of when it may be implemented?

buggy
12-15-2009, 10:15 AM
JQuery (or similar javascript framework) would be your best bet atm, most css3 can be recreated with it.

drhowarddrfine
12-15-2009, 02:22 PM
you wouldn't happen to know of when it may be implemented?
It will be at least two years before IE9 comes out, which will have some CSS3 introduced into it, but not as much as all the other browsers have right now, so hoping for IE to have something is always a lost cause. Using Modernizer (http://www.romancortes.com/blog/tag/css/) may be helpful but it doesn't add features. It only detects them.

Loic
12-15-2009, 11:09 PM
I think I’ll stick to one of the first rules of web development that I told. Design for Firefox and then make it IE compatible. Given the nature of my site, just a personal blog about geeky stuff I doubt there will be to many people reading it that aren’t using Firefox.
If I come across any cool “hacks” or create any JS functions to replicate some of the CSS3 functions I will come back and post them. :)

Excavator
12-15-2009, 11:17 PM
Given the nature of my site, just a personal blog about geeky stuff I doubt there will be to many people reading it that aren’t using Firefox.

I've stopped supporting IE6 on my personal sites. I don't know anyone that uses that browser still so I just add a suggestion like this -


<!--[if lt IE 7]>
<div id="ie6Warning">
<h2>Time to upgrade your browser</h2>
<p>
If you're reading this, you're surfing using Internet Explorer 6, an eight-year-old browser that
cannot cope with the demands of the modern internet. For the best web experience, we strongly recommend
upgrading to <a href="http://www.getfirefox.com/">Firefox</a>, <a href="http://www.opera.com/">Opera</a>,
<a href="http://www.apple.com/safari/">Safari</a>, <a href="http://www.google.com/chrome">Google Chrome</a>,
or a more recent version of <a href="http://www.microsoft.com/windows/downloads/ie/getitnow.mspx">Internet
Explorer</a>.
</p>
</div>
<![endif]-->

It's different though, for clients sites. Still have to deal with the IE6 surfers.

Loic
12-15-2009, 11:36 PM
It's different though, for clients sites. Still have to deal with the IE6 surfers.

Yes, I am much the same… I work for a small business building and maintaining a few ecommerce sites. I use various online browser compatibility checkers(sites that show you your site in different browsers on different os’s) . Drives me nuts… have some really elegant code, then have to mess it all up for IE!!!!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum