Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Aug 2007
    Posts
    57
    Thanks
    4
    Thanked 0 Times in 0 Posts

    CSS3 hacks in IE?

    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?

    Code:
    .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?

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,670
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    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
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    New Coder
    Join Date
    Aug 2007
    Posts
    57
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Excavator View Post
    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?

  • #4
    New Coder
    Join Date
    Jun 2008
    Posts
    57
    Thanks
    15
    Thanked 1 Time in 1 Post
    JQuery (or similar javascript framework) would be your best bet atm, most css3 can be recreated with it.
    Newbie at most things ...Hey we all gotta start somewhere right :)

  • #5
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    Quote Originally Posted by Loic View Post
    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 may be helpful but it doesn't add features. It only detects them.

  • #6
    New Coder
    Join Date
    Aug 2007
    Posts
    57
    Thanks
    4
    Thanked 0 Times in 0 Posts
    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.

  • #7
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,670
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Quote Originally Posted by Loic View Post
    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 -
    Code:
            <!--[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.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #8
    New Coder
    Join Date
    Aug 2007
    Posts
    57
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Excavator View Post
    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!!!!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •