Bang IE7 – What does it mean?

I have heard of this before, but not with the exact text !ie7. I found a reference here: http://www.javascriptkit.com/dhtmltutors/csshacks3.shtml !ie Internet Explorer 7 fixed one of the issues with the !important identifier, but it still has problems when the identifier has an error in it. If an illegal identifier name is used in place of … Read more

What bug does zoom:1; fix in CSS?

This provides an internal property known as hasLayout in Internet Explorer versions 7 and lower. The definitive article on the subject is here: http://www.satzansatz.de/cssd/onhavinglayout.html A lot of Internet Explorer’s rendering inconsistencies can be fixed by giving an element “layout.” In this article, the authors focus on some aspects of this complicated matter. “Layout” is an … Read more

Detect Internet Explorer 6 or below in jQuery

As simple as this: if($.browser.msie && $.browser.version==”6.0″) alert(“Im the annoying IE6”); Update Please note that $.browser is removed from jQuery 1.9 If you still need to use $.browser in jQuery 1.9 (or other deprecated functions), try jQuery-migrate (https://github.com/jquery/jquery-migrate/ – http://code.jquery.com/jquery-migrate-1.2.1.js)

Force Internet Explorer to use a specific Java Runtime Environment install?

First, disable the currently installed version of Java. To do this, go to Control Panel > Java > Advanced > Default Java for Browsers and uncheck Microsoft Internet Explorer. Next, enable the version of Java you want to use instead. To do this, go to (for example) C:\Program Files\Java\jre1.5.0_15\bin (where jre1.5.0_15 is the version of … Read more

Javascript Image Resize

To modify an image proportionally, simply only alter one of the width/height css properties, leave the other set to auto. image.style.width=”50%” image.style.height=”auto” This will ensure that its aspect ratio remains the same. Bear in mind that browsers tend to suck at resizing images nicely – you’ll probably find that your resized image looks horrible.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)