ashwin_m Posted May 2, 2007 Share Posted May 2, 2007 Does anybody know how to hide css styles from opera browser. Link to comment https://forums.phpfreaks.com/topic/49643-css-hacks-for-opera-browsers/ Share on other sites More sharing options...
Daniel0 Posted May 2, 2007 Share Posted May 2, 2007 This will hide it from everything else than IE: <!--[if IE]> <style type="text/css"> test </style> <![endif]--> I don't think there are any ways of making CSS visible to Opera only using HTML only. Then you'd have to use PHP or Javascript to check the browser. Link to comment https://forums.phpfreaks.com/topic/49643-css-hacks-for-opera-browsers/#findComment-243423 Share on other sites More sharing options...
emehrkay Posted May 3, 2007 Share Posted May 3, 2007 if im not mistaken, opera is the most css compliant browser available.. why hide css from it? Link to comment https://forums.phpfreaks.com/topic/49643-css-hacks-for-opera-browsers/#findComment-244085 Share on other sites More sharing options...
Daniel0 Posted May 3, 2007 Share Posted May 3, 2007 if im not mistaken, opera is the most css compliant browser available.. why hide css from it? You could choose to hide CSS from Opera because it should not apply the "hack" stylesheets intended for e.g. Internet Explorer. I'm still waiting for the day where IE will be on the same level, in terms of standard compliance, as the other browsers on the market so these hacks are unnecessary. Link to comment https://forums.phpfreaks.com/topic/49643-css-hacks-for-opera-browsers/#findComment-244095 Share on other sites More sharing options...
ToonMariner Posted May 3, 2007 Share Posted May 3, 2007 IE7 has taken some massive steps... But I have to say that I have not used a css hack in a very long time. xhtml1.1 dtd makes ie6 behave much better and I try to avoid using css that ie just doesn't play ball with (like position: fixed). The result being that sites tend to have a very consistent look and feel cross-browser so I am happy Link to comment https://forums.phpfreaks.com/topic/49643-css-hacks-for-opera-browsers/#findComment-244204 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.