Okay, Well I am developing a website for a friend, but the style relies on PNG images for there transparency and greater picture quality. I have tied GIF but the quality was poor.
The problem is older browsers of Internet Explorer do not like PNG images, and thus, the transparency is ignored, making the site look rediculous.
Now I have a simple piece of code to say to Internet Explorer users to make sure they have the latest update.
<fieldset style="border:1px dashed #FF0000; padding:2px; "> <legend align="center"><font color="#FFFFFF" size="2"> <span style="background-color: #000000">Internet Explorer Users</span></font></legend> <font size="2" color="#FFFFFF">Please note: If you are using an outdated version of internet explorer your browser may not show the images correctly. In order to prevent this please download the latest version of Microsoft Internet Explorer:</font><font size="2"> </font> <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9AE91EBE-3385-447C-8A30-081805B2F90B&displaylang=en"> <font size="2">Click Here for the latest release</font></a></fieldset></form>
Now, I only want that code shown to Internet Explorer users, I dont want Fire Fox, or Opera users to be able to see that.
Now I have used these tags before to prevent Style Sheets from being viewed by Internet Explorer, so I tried them with this content:
<![if !IE]> <![endif]>
But obviously I failed to work. As you can tell im an amatuer, but any help will be appreciated.