Re: [css-d] Reliable Opera-only filter?

2007-10-07 Thread Philippe Wittenbergh
Alex Robinson wrote: http://thomas.tanreisoftware.com/?p=11#op9 (though he's unaware of the :root hack above) So revisiting the code snippet, we now have: @media all and (min-width:0px){ head~body #foo { padding: ... ; } /* Opera 9 */ :root head~body #foo { padding: original_value ; }

Re: [css-d] Reliable Opera-only filter?

2007-10-06 Thread David Laakso
Micky Hulse wrote: I would prefer to use a filter for the latest version of Opera that will be a good long-term fix. Basically, Opera gives a few extra pixels of top-padding, on a form input, that I would like to compensate for... I can live with how it is now, but thought I would ask ya'll

Re: [css-d] Reliable Opera-only filter?

2007-10-06 Thread Philippe Wittenbergh
On Oct 6, 2007, at 10:15 PM, David Laakso wrote: @media screen and (min-width: 0px){ #foo { padding: ... ;} } And mind the last brace. Unreliable. That will also target Safari 3 and newer, Konqueror 4 (afaik). Philippe --- Philippe Wittenbergh http://emps.l-c-n.com

Re: [css-d] Reliable Opera-only filter?

2007-10-06 Thread Alex Robinson
Rare is the day Opera gets it wrong. @media screen and (min-width: 0px){ #foo { padding: ... ;} } This is hardly a long term fix. Safari 3 (due for release along with the next version of OS X within the next couple of weeks) will support media queries. To exclude it (and other browsers using

Re: [css-d] Reliable Opera-only filter?

2007-10-06 Thread Rafael
You could check at this page http://www.webdevout.net/css-hacks#in_css-selectors Micky Hulse wrote: I would prefer to use a filter for the latest version of Opera that will be a good long-term fix. Basically, Opera gives a few extra pixels of top-padding, on a form input, that I would

[css-d] Reliable Opera-only filter?

2007-10-05 Thread Micky Hulse
I would prefer to use a filter for the latest version of Opera that will be a good long-term fix. Basically, Opera gives a few extra pixels of top-padding, on a form input, that I would like to compensate for... I can live with how it is now, but thought I would ask ya'll before I scratch it