Jump to content

IF and ELSE with firefox and ie.


ted_chou12

Recommended Posts

Sometimes, there can exist contradictions between firefox and ie, like my navigation bar length, For internet explorer, the length is 97%, and for firefox, it is 96%, although it wont effect the functions of my pages, however, that little difference makes a significance changes in the result. which is that the length of the nav. bar does not look good... :'(, so what I wish to know is if there is some html codes that solves this, with if and else... because I had seen one if and else with IE6 and IE7, like this:

<!--[if lte IE 6]></td></tr></table></a><![endif]-->
//and
<!--[if IE 7]><!-->

this is a piece of code i saw in some webpages, so i wonder same thing exist for firefox...

Thanks

Ted

Link to comment
https://forums.phpfreaks.com/topic/38824-if-and-else-with-firefox-and-ie/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.