Translate This Blog
Remember To Always Back Up Your Template Before Attempting Any Of The Tweaks On This Site

Browser Conditions For Internet Explorer

Some have probably noticed Internet Explorer tends to be in a category of its own when it comes to design. Coding sometimes does not get rendered properly as it would in other browsers such as Firefox or Chrome, thus causing a different look or design.  With this tweak you can set coding to only be used by Internet Explorer on Windows computers.

Unfortunately this is not one of those copy and paste techniques to fix everything. You will need to have a great deal of understanding in CSS coding to correct the mistakes IE renders. I can not go over every possible fix nor do I know every possible fix.

To use this tweak you need to go to your Edit HTML page.

Click Ctrl +F for the browser find/search bar to pop up.

Input </head> in the find/search bar.

Directly above the </head> tag place this code below.
<!--[if IE]>
<style>
<--CSS coding-->
</style>
<![endif]-->
Replace the orange line with your CSS coding to be rendered only in Internet Explorer.


You can also be more specific as in what version of IE (IE5.5, IE6, IE7, eg) to use as shown below.
<!--[if IE5]>
<style>
<--CSS coding-->
</style>
<![endif]-->

6 comments:

azmar said...

I don't get this tweak. yes I have noticed that the page appearance of bolog almost different in internet explorer.
Is this wil be the solution of this problem. why appearance and style is different in internet explorer.

AiresOFwar said...

That has been a problem that has troubled web designers since the dawn of the web. Internet Explorer is one of the worst as far as what works and what does not. You can read more about it on the link below

http://www.tweakmyblogger.com/2011/02/browser-compatibility.html

Molto ❤ Fashion said...

Hi, I don't quite understand what to replace the orange part with. I've found where to put it, but I don't know exactly what my CSS coding is. Does it refer to a specifc part of my template?

Thanks for all your help.

AiresOFwar said...

This tweak is more or less for advanced users. What is the problem you are trying to fix in IE. Perhaps I maybe able to give you a code to fix it.

Joren said...

Instead of CSS, how would I add this to a widget?

AiresOFwar said...

Other then CSS I believe JavaScript is the only other way to dictate browsers.

Post a Comment

Please don't post hyperlinked text within the comment box! It will not be published and you will be marked as spam.

Web Design Blogs PageRank