- /*一句话搞定:*/
- html{overflow: auto; overflow-x:hidden}
- /*
- FF、谷歌,Oprea都兼容,但要支持IE6~9,要在HTML4标准状态下:
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh" dir="ltr">
- */
- //该片段来自于http://www.codesnippet.cn/detail/270320132588.html
来源: http://www.codesnippet.cn/detail/270320132588.html