适用于 IE。
有点旧(针对opera 6)但还是可以看看。
Don’t lose your menu bar
Since “I lost my menu bar, how do I get it back?” is a FAQ in the Opera for Linux forum, here two answers: Either close all windows and right click on the empty workspace and select Show menu bar or simply press Ctrl+F11.
Opera hangs if site uses Flash
If Opera freezes when you access a Flash page, try starting Opera like this:
For Gnome, try this from command line (terminal): esddsp opera
Or, for KDE: artsdsp opera
Change the threshold of the “Open page” warning
Opera can warn you, before it opens a lot of bookmarks at once. It will then display a message box and ask you something like “You are about to open 903 pages. Proceed?”. The default threshold for this warning is four. So if you open more than four pages, Opera will ask you before it proceeds. You can change this threshold or disable it by editing ~/.opera/opera6.ini. Make sure to close Opera before editing the file. Then use
[HotListWindow]
OpenWarningLevel=n
Set n to either the new threshold, e. g., 10, or to -1 to disable it. Note: The [HotListWindow] entry will probably already exist. So look for it first.
Listen to MP3 streams
Use the following settings if you want to be able to listen to MP3 (.pls) streams on the Internet:
MIME type: audio/x-scpls
File extensions: pls
(*) Open with other application
[/usr/X11R6/bin/xmms]
Restoring the default settings in Opera for Linux
To restore your default settings, delete the file(s) “opera*.ini” in your “~/.opera” directory. This can sometimes solve problems you are suddenly experiencing. [...]
更多:
http://www.schrode.net/opera/tips/tips.html
http://www.schrode.net/opera/support/knowledge-base.html
http://www.quirksmode.org/dom/w3c_css.html
很不错的文章,列表 currentStyle getComputedStyle cssRules rules 等等关于 CSS 的 DOM 方法兼容性。
BTW:funny code
HTMLElement.prototype.__defineGetter__(”runtimeStyle”, function() {
return document.defaultView.getComputedStyle(this, null);
});
david兄,拜托你少研究一个css技巧,花点时间把你的logo图片们优化一下,同时想想办法解决加载页面需要从flickr transfer 巨多数据的问题。你的这个blog,绝对可以竞争国内十大最难访问的站点了。
IE6不支持 input:hover input:focus,只支持 input:active。解决方案思路如下:
样式表定义部分
input:focus, input.focus { background:lime; color:black; }
JS代码
或者
window.onload = function(){
for(var i = 0; i < document.forms.length; i++){
var form = document.forms[i];
for(var t = 0; t < form.elements.length; t++){
form.elements[t].onfocus = function(){ this.className += " focus"; }
form.elements[t].onblur = function(){ this.className = this.className.replace(/focus/, ""); }
form.elements[t].onmouseover = function(){ this.className += " hover"; }
form.elements[t].onmouseout = function(){ this.className = this.className.replace(/hover/, ""); }
}
}
}
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
ffish added:
我感觉只有符合包含逻辑的标签,才能显示正确的结果。上面最后两行不符合包含逻辑所以被浏览器引擎忽略。运行一下这段代码:
heading 2
heading 2 |
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
testing…
paragraph click test.
real paragraph
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
可能是因为 block 也细分为好几种形式的缘故吧,但 alert 的只是 “block”
111
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]