Hello everyone, how can I get the name of the browser ( I'm interested in getting IE7 because it creates problems for me) by using javascript?
Reason why I want a browser name so I can assign class to one of my footer elements which doesn't look good in IE7.
I want to do this on page load, #1 check browser name , 2# if IE 7 assign class to element else do nothing. Is this the right approach by the way ? thank you
UPDATE
I have HTML something like this
<div id="some_div">
some content
</div>
Can I use IE conditional comments and how? obviously if I put another div in front or below this div which appears only in IE both divs will appear in IE7 then.