[thelist] New technique for hiding CSS from OmniWeb
CodeBitch
codebitch at macedition.com
Mon Nov 18 04:47:01 CST 2002
Dear theListers,
I know I haven't been particularly active on this list for some time, and
apologies in advance to those who have already seen this announcement on
CSS-Discuss.
I have discovered a hack for hiding CSS stylesheets from OmniWeb. Just use
media="Screen" or media="All" instead of media="screen" or media="all".
(Detailed discussion of validity and case sensitivity in the article at the
URL below.)
Test page: http://www.macedition.com/cb/testers/owhide.html
Companion article: http://www.macedition.com/cb/cb_20021118.php
Warm regards,
CodeBitch
Encoded as a tip:
<tip type="CSS hiding" author="CodeBitch">
OmniWeb has some important gaps in its CSS support. If you have a lot of Mac
OS X-using readers, you might want to go to the bother of passing different
styles to OmniWeb than to other CSS-supporting browsers. To hide a CSS
stylesheet from OmniWeb, simply use media="Screen" or media="All" instead of
media="screen" or media="all".
</tip>
--
CodeBitch at MacEdition
http://www.macedition.com/cb/
Cracking the whip on your naughty HTML since 2000
More information about the thelist
mailing list