Re: [css-d] how to serve specific css for Opera 8?

2006-06-06 Thread Philippe Wittenbergh

On Jun 6, 2006, at 6:19 PM, Alex Robinson wrote:

> Well, depending on how you want to treat Opera 9 (it's been in beta
> for a while now), you could use something along the lines of
>
> http://www.fu2k.org/alex/css/hacks/fuzzyspecificity

your last test case (C) could be made to work in Opera 9. Instead of   
using :root, go for a CSS3 attribute selector; those are not  
supported by O8.

body #op8-hook-id[id^="op8-hook-id"] {background:lime}

(I know. Looks a bit ugly, but then good hacks are not pretty, and it  
avoids relying on a possibly non-existing parent selector)

That would cover Gecko, Safari, iCab, Konqueror, even IE11..., in  
case any of these support media queries but not the :root selector.

As for IE 7, in your test case:
A. red
B. red
C. blue

PS - my  is  
supposed to be correct.


Philippe
---
Philippe Wittenbergh





__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] how to serve specific css for Opera 8?

2006-06-06 Thread Gunlaug Sørtun
Rizky wrote:
> http://kometdigital.web.id/test/three-column/main-index.html

> i've search for Opera 8 css filters and hacks, but the ones I found 
> are for older versions of Opera, such as the "be nice to Opera rule".
>  surely those won't work anymore right?


Well, if you like to "live dangerously", then you may decipher the
Opera-versioning hacks I use.



The validator doesn't like all of it, but I have yet to figure out why
since I more or less copied examples from the W3C CSS3 draft.

I use these hacks only for non-critical - just for fun -
browser-separation, like the CSS Sledgehammer trick used half way down
on this page...

...and as part of ongoing tests of CSS support across browser-land.

regards
Georg
-- 
http://www.gunlaug.no
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] how to serve specific css for Opera 8?

2006-06-06 Thread Alex Robinson
>i've search for Opera 8 css filters and hacks, but the ones I found are
>for older versions of Opera, such as the "be nice to Opera rule". surely
>those won't work anymore right? well, that's all for now, thx


Well, depending on how you want to treat Opera 9 (it's been in beta 
for a while now), you could use something along the lines of

http://www.fu2k.org/alex/css/hacks/fuzzyspecificity


But note the final remarks of future proofing against other modern 
browsers implementing media queries which form the basis for the hack.

I'm not sure it's possible to distinguish between 8 and 9. Or rather 
I found 8 so broken that when the beta of 9 came out I stopped 
bothering to make any concessions for 8. I'd love to hear from anyone 
who does know how though.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] how to serve specific css for Opera 8?

2006-06-06 Thread Rizky
hi list, I need some help for handling Opera 8 here

below is the link to the page and the css...and then please look at the 
right top colum. if you look at it on Opera 8, the tabbed menu is 
slighly off a few pixels downward. meanwhile in Firefox and IE it looks 
just fine.

http://kometdigital.web.id/test/three-column/main-index.html
http://kometdigital.web.id/css/tabs.css

the tabbed menu are made using floated lists, with "sliding door" 
background images. a difficult beast to tame :D

i've search for Opera 8 css filters and hacks, but the ones I found are 
for older versions of Opera, such as the "be nice to Opera rule". surely 
those won't work anymore right? well, that's all for now, thx


regards,
Rizky
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/