/*针对Firefox*/ @-moz-document url-prefix() { #nav{ width:200px; } } 转载于:https://www.cnblogs.com/qiangspecial/p/3514040.html