paul bennett

Opera 8 & 9 CSS filter

Posted on: April 28, 2008

Unfortunately, things don’t always render the same across all browsers (never have, likely never will). If, for some reason, you need to tweak things only in Opera 8 and 9, this CSS will do the trick:

Not my genius, but I can’t recall where I first found this so I can’t quote the source unfortunately.
/* target Opera */
@media all and (min-width:0px) {
/* target version 9 */
head~body #yui-main p {font-size: 130%;}
/* target version 8 */
body #yui-main p{font-size: 130%;}
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Archives

%d bloggers like this: