![]() |
Getting iepngfix to work - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Getting iepngfix to work (/showthread.php?tid=36925) |
Getting iepngfix to work - El Forum - 12-20-2010 [eluser]Unknown[/eluser] I just spent a lot of time pulling my hair out trying to get iepngfix to work with Codeigniter. I tried every path I could think of in my css file (for the behavior property), but my htc file simply wasn't being found. I searched the internet for a solution, but it seems like I'm the only one on the planet who has had any major trouble with this. Finally I stumbled onto the "base" tag, which is something I didn't know existed. By putting Code: <base href="<?=base_url()?>" /> Getting iepngfix to work - El Forum - 12-20-2010 [eluser]coolgeek[/eluser] This works for me in my IE css override file Code: img { behavior: url(/js/iepngfix/iepngfix.htc); } Getting iepngfix to work - El Forum - 12-20-2010 [eluser]umefarooq[/eluser] make your life easy use this jquery script, which will fix png for IE http://jquery.andreaseberhard.de/pngFix/ Getting iepngfix to work - El Forum - 12-21-2010 [eluser]Unknown[/eluser] coolgeek: Before putting in the base tag, this line of code did not work with any path: Code: img, div {behavior: url(fix/iepngfix.htc);} umefarooq: Thanks, that does look easier. |