Make “background-position:center center” work with PNG image for IE5.5+
I’ve done little change and make it easier to implement.
Now we can position PNG image to center for IE.
http://www.hedgerwow.com/360/bugs/css-png-background.php
Keep It Simple, Stupid
{ Category Archives }
I’ve done little change and make it easier to implement.
Now we can position PNG image to center for IE.
http://www.hedgerwow.com/360/bugs/css-png-background.php
One of my fellows in Yahoo!, Andrew Wooldridge asked me a wacky behavior on Internet Explorer while he’s working on some fancy URL redirect functions with JavaScripts and I think it’ll be better if I document this bug and share with people who might have the same problems.
Here’s the example:
http://www.hedgerwow.com/360/bugs/ie-anchor-bug.html
thanks.
My manager asked me if it’s safe for us to dipslay user-generated CSS texts on the page, and my answer iss “No”
My friend and my co-worder Nicholas C. Zakas is against putting JavaScript into CSS based on lots of convincing reasons, too.
But in order to explain how it might work, I still need to do this with example codes which work on IE6 only.
Feel free to view the source and share this with your co-workers.
I tried to messed up the CSS to make it looks unlikely normal JavaScript or CSS.
Just have fun to do a little code review!
Example: (require IE6)
http://www.hedgerwow.com/360/dhtml/css_embed_js_for_ie6.html