How to make a layout work in IE and FF

Many webowners know how much of a pain in the aff (yes, aff) it is to make a layout work in both Internet Explorer AND Firefox. Here you can find out a way to make any layout compatible with both!

First, you need to make a stylesheet. If you already have a .css file, then copy all the css from that one to another .css file and name it styleie.css or something. If you don't have a .css file, and your css is in a file with all of your other coding, then cut everything in between <style> and </style> and paste it into a file named "style.css" and another file named "styleie.css". Delete the <style> and </style> tags in the original coding.

Now, in the file with your original coding, copy and paste this code about where the css used to be:

<link rel="stylesheet" type="text/css" href="style.css">
<!--[if ie 6]>
<link rel="stylesheet" type="text/css" href="styleie.css">
<![endif]-->

Now, just edit your "styleie.css" to be compatible with IE, and the "style.css" to be compatible with Firefox.

You can do this with any version of IE. If you're having problems with 7, change the "if ie 6" to "if ie 7". If you want to change something in all versions of IE, then just take the number out of the code.

That's about it! Upload all the files and you should be done! If you have any problems, then stop by the chat or email me at silveztria@yahoo.com.

Thanks to Deathseeker for telling me about this in the first place... well at least half of it. :D


 Affiliates

 AobaruNet  Eevee Club House  Eevee~Valley  Eevee's Mansion  Luster Purge  Pikachu's Plaza  PikaPower HQ  Poké Shore  The Forest Manor  Treeshroud Forest  Twilight Harbour  United Universe
More?

 Monthly Poll

HeartGold or SoulSilver?
HeartGold!
SoulSilver!
Don't care.
Wtf are those!?
THIS POLL IS EVERYWHERE!! D<
See Results