Have you tried to manipulate the string that is returned by the value attribute of a file upload input (<input type=”file” />) under Internet Explorer 8? Did you get the strange c:\fakepath string? Relax - there is nothing wrong with your code, and although this is quite confusing, it has its justifiable reasons. Here is a screenshot of a [...]
Archive for June, 2009
The Mystery of c:\fakepath Unveiled
Posted in Browsers, Forms, HTML5, Tips and Tricks, Web Development, tagged c:\fakepath, fakepath, file upload fakepath, HTML5, input type file fakepath on June 9, 2009 | 10 Comments »
CSS Hack for Internet Explorer 8
Posted in Browsers, CSS, CSS Hacks, Tips and Tricks, tagged css hack, IE css hack, IE8 css hack, Internet Explorer 8 CSS hack, Internet Explorer 8 hack, Internet Explorer CSS hack on June 4, 2009 | 3 Comments »
Notwithstanding the improvements in the CSS support in Internet Explorer 8, there may be cases when a CSS hack for that particular browser is necessary. Here is one that works in IE8 Standards Compliance Mode: .classnameOrElement { color /*\**/: blue\9 } And another one that will be applied in all IE versions: .classnameOrElement { color: [...]