Opera's Handling of Cascading Style Sheets (CSS 2+)
- Opera, like all the other browsers is not completely standards compliant and this is caused both by the imperfections of the browser itself and the overwhelming need for browser vendors to try and conform to already existing conventions that may not be necessarily Web Standards compliant.
-
- Besides the relatively standards compliant browsers such as Firefox and Safari, unlike Internet Explorer which has bugs and peculiar characteristics that allow web content developers to isolate a given browser or browser version and create custom styles according, Opera browsers do not provide an opportunity for such filters to be used.
-
- Existing solutions for other browsers
- In IE, one can use * html, # or _ prefixes to declare values that can only be read by Internet Explorer to different extents based on the browser version. The only possibility that I see for Opera at the moment is to exploit the varied support that browsers have for the different forms of syntax for importing external CSS stylesheet files into an existing styles file (@import url("otherstyle.css");). This CSS and web authoring resource provides a table showing each browser's support. This forms a basis for creating a series of styles in different includes imported using the various methods to ensure effect the settings for a particular browser such as Opera. Although this approach may work, it is quite time-consuming and untidy; which defeats the purpose of using CSS to efficiently style marked-up content.


