Alex,

Hmmm... doesn't really look as appealing as I envisioned. Thanks anyway.



Alex / All,

Perhaps there is a better way to fix this problem.

The RSS icons on (http://www.viavirtualearth.com/) are jumping too high in
Safari and Opera but are sweet in FF and IE6. Most of our market is IE6,
followed by FF. Safari and Opera don't rate high on our traffic at all, but
the designers use them so it'd be nice for them to actually be able to see
the site properly.

Any suggestions specific to this problem before I apply the awful hack?




Thanks,

Tatham Oddie
Fuel Advance - Ignite Your Idea
www.fueladvance.com


-----Original Message-----
From: Alex Robinson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 11 August 2005 1:49 AM
To: Tatham Oddie (Fuel Advance)
Cc: [email protected]
Subject: Re: [css-d] Filters

>*      Safari will read
>*      Opera will read
>*      Firefox won't read
>*      IE6 won't read
>
>
>
>Or even a series of filters to achieve this. The difficulty is that FF
seems
>to read the same things as S and O.


Something like this should work

/* all browsers will see this - that's all Safari needs */
selector { ... original ... }

/* Now feed a different value to Firefox/Mozilla */
selector:lang(en) { ... new ... }

/* Unfortunately Opera 7.5+ sees that, so we need to set it back
    Fortunately, media queries come to our rescue
    only Opera 7.5+ currently supports them */
@media all and (min-width: 0px) { selector:lang(en) { ... original ... } }

/* Last, deal with IE */
* html selector { ... new ... }


A working example can be seen at
    http://www.fu2k.org/alex/css/cssjunk/iefirefoxhack

NB. I wouldn't put it past Safari to support selector:lang() in the 
not too distant future. The same caveat has to be added about media 
queries for both Safari and Firefox.




>So far I've only checked the bible at
>http://www.dithered.com/css_filters/css_only/index.php - if anybody knows
of
>a better site (doubt it) let me know too.

Nope. Though it's fallen a little behind the times, it's still the 
best roundup out there. In my opinion.


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to