The “Be Mean to Opera” Hack
This hack can be used to hide CSS from Opera (versions 5 and below):
html>body .myDiv { m\yProperty: myval; }
IE5/win and Opera 3-5 suffer from the same CSS parsing bug that is exploited in Tantek’s Box Model Hack. (Without Tantek’s hack, real-world CSS development would be much harder.) The Tantek hack has a “Be Nice to Opera” rule that allows developers to filter out Opera and simply target their CSS to correct IE5/win’s broken box model. To specifically target Opera, though, developers need to modify the “Be Nice to Opera” rule using the Simplified Box Model Hack. For example, using the following CSS, only Opera 3-5 will display the div.myDiv using red text.
div.myDiv {<br />
color: black;<br />
}<br />
html>body div.myDiv {<br />
color: red;<br />
c\olor: black; /* be ~mean~ to Opera -- http://www.albin.net/css/be_mean_to_opera */<br />
}What the heck does that mean? The “Be Mean to Opera” selector means: “select the div.myDiv descendent of the body element if the body element is a child of the html element.” Since the body element is always a child of the html element, this rule can be modified to match anything inside the body element.
IE/win (versions 6 and below) don’t support CSS2’s child selector and, thus, will ignore the entire html>body rule. Opera (versions 5 and before) will ignore the property that has an escape (\) character in it. Any letter G-Z can be escaped with a backslash (\) without affecting it’s meaning. In other words, ‘\g’ will be read by a non-buggy CSS parser as ‘g’. Don’t escape the letters A-F; they are interpreted as hexidecimal numbers when escaped (‘\f’ means ‘15’ in hexidecimal). Opera 6, IE5/Mac, IE6/win, Netscape 6, and Mozilla all have CSS parsers that interpret escaped characters correctly; all but IE6/win (because of it’s lack of support for CSS2’s child selector) will read the html>body { c\olor: black; } property.










Great work. Thank you!
Great work. Thank you!
Could you please explain me
Could you please explain me the meaning of 'CVS'
Nice, very nice
subject
Guys, what is CVS?
Guys, what is CVS?
Very good! Here is my
Very good! Here is my bookmark of this post! http://www.searchallinone.com/Other/Alex_Buga_-_Webdesign_Superstar__Bot...
wkeves@googlemail.com
The comma-separated values (or CSV; also known as a comma-separated list or comma-separated variables) file format is a file type that stores tabular data. The format dates back to the early days of business computing. For this reason, CSV files are common on all computer platforms.
en.wikipedia.org/wiki/Comma-separated_values
QJByelGtGAP
Welcome friends! , sexy brazilian ass, [url="http://brazilian-ass.weebly.com/"]sexy brazilian ass[/url], http://brazilian-ass.weebly.com/ sexy brazilian ass, hot women thong sex naked beach, [url="http://forums.vogue.com.au/member.php?u=84514"]hot women thong sex naked beach[/url], http://forums.vogue.com.au/member.php?u=84514 hot women thong sex naked beach, squirting girls, [url="http://forums.vogue.com.au/member.php?u=84519"]squirting girls[/url], http://forums.vogue.com.au/member.php?u=84519 squirting girls,
The “Be Mean to Opera” Hack
very usefull thing!
but what is CSV?
CSV
CSV files you can open with openoffice...
Is it formally known as the
Is it formally known as the "Be Nice to Opera Rule"? Talk about patronising.
Eve Isk
re: be nice to opera
Thanks, John. Nice to know that some people are actually considering Opera. Surprised me.
wow gold
We supply WoW Gold for wow players, you can Buy Wow Gold,wow power leveling,and world of warcraft gold server here, Cheap WoW Gold always waiting for you!
Post new comment