![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a web page that works fine in Opera 7 and other modern browsers (IE6, Mozilla 1.4, NS7.1, etc.), but not in Opera 5. I know which style properties to set for Opera 5 to make it work, but these affect the layout in the other browsers in a way that I don't find acceptable. I think you can assume that people smart enough to use the Opera browser |
#3
| |||
| |||
|
|
In article <65lb6sry.fsf (AT) anthonyw (DOT) cjb.net>, anthony.williamsNOSPAM (AT) anthonyw (DOT) cjb.net says... Hi, I have a web page that works fine in Opera 7 and other modern browsers (IE6, Mozilla 1.4, NS7.1, etc.), but not in Opera 5. I know which style properties to set for Opera 5 to make it work, but these affect the layout in the other browsers in a way that I don't find acceptable. I think you can assume that people smart enough to use the Opera browser are smart enough to upgrade. |
#4
| |||||
| |||||
|
|
I have a web page that works fine in Opera 7 and other modern browsers (IE6, Mozilla 1.4, NS7.1, etc.), but not in Opera 5. I know which style properties to set for Opera 5 to make it work, but these affect the layout in the other browsers in a way that I don't find acceptable. |
|
Is there a way of writing properties that apply only to Opera 5, or of writing properties that will be hidden from Opera 5, so I can set the Opera 5 values, then override them for other browsers in the hidden section? |
|
e.g. IE has the <!--[if IE]> trick, and I can hide stuff from NS4 by wrapping it in @media all{}. |
|
Is there an equivalent trick for Opera 5? |
|
As an aside, anyone care to make a guess as to what percentage of Opera users use each version? |
#5
| |||
| |||
|
|
Is there a way of writing properties that apply only to Opera 5, or of writing properties that will be hidden from Opera 5, so I can set the Opera 5 values, then override them for other browsers in the hidden section? |
#6
| |||
| |||
|
|
I have a web page that works fine in Opera 7 and other modern browsers (IE6, Mozilla 1.4, NS7.1, etc.), but not in Opera 5. I know which style properties to set for Opera 5 to make it work, but these affect the layout in the other browsers in a way that I don't find acceptable. |
#7
| ||||
| ||||
|
|
In article <65lb6sry.fsf (AT) anthonyw (DOT) cjb.net>, Anthony Williams wrote: I have a web page that works fine in Opera 7 and other modern browsers (IE6, Mozilla 1.4, NS7.1, etc.), but not in Opera 5. I know which style properties to set for Opera 5 to make it work, but these affect the layout in the other browsers in a way that I don't find acceptable. Exact problem please? URL? |
|
There is many ways, nothing simple for Opera 5, IIRC. http://w3development.de/css/hide_css_from_browsers/ |
|
Is there a way of writing properties that apply only to Opera 5, or of writing properties that will be hidden from Opera 5, so I can set the Opera 5 values, then override them for other browsers in the hidden section? IIRC, using ill capitalized classes worked for some situation: .class {} /* correct */ .CLASS {} /* Opera 5 */ Don't remember if it affected some other browser, and I newer tested it widely. Might need IE hiding to hide Opera 5 rule from IEs. I'm not sure if it hides from Opera6, I didn't need to hide things from it. (html>body .CLASS {}) e.g. IE has the <!--[if IE]> trick, and I can hide stuff from NS4 by wrapping it in @media all{}. And both by http://w3development.de/css/hide_css...rowsers/child/ Is there an equivalent trick for Opera 5? There is no easy hiding method for O5 afaik |
|
As an aside, anyone care to make a guess as to what percentage of Opera users use each version? I would guess (±25%): 3.6 4 5 6 7 1% 0% 10% 50% 40% Opera users aren't as quick updating as mozilla users, as updating costs money, unless you want ads. Early versions of 7 many crucial functions of v6 were missing (some still are.). |
![]() |
| Thread Tools | |
| Display Modes | |
| |