ted_chou12 Posted February 16, 2007 Share Posted February 16, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/38824-if-and-else-with-firefox-and-ie/ Share on other sites More sharing options...
lando Posted February 16, 2007 Share Posted February 16, 2007 To the best of my knowledge those are only available in IE 5 or higher. Quote Link to comment https://forums.phpfreaks.com/topic/38824-if-and-else-with-firefox-and-ie/#findComment-186687 Share on other sites More sharing options...
Daniel0 Posted February 17, 2007 Share Posted February 17, 2007 You might want to make your site work in all browsers instead of making layouts for each browser. Table-less layouts should help that. Quote Link to comment https://forums.phpfreaks.com/topic/38824-if-and-else-with-firefox-and-ie/#findComment-186979 Share on other sites More sharing options...
ted_chou12 Posted February 20, 2007 Author Share Posted February 20, 2007 thanks. Quote Link to comment https://forums.phpfreaks.com/topic/38824-if-and-else-with-firefox-and-ie/#findComment-189406 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.