meta属性

The key "inital-scale" is not recognized and ignored.

The value "no;" for key "user-scalable" is invalid, and has been ignored.

Error parsing a meta element's content: ';' is not a valid key-value pair separator. Please use ',' instead.

 

这么愚蠢的错误还是引以为鉴,不要跟我一样随便就加了个“;”号。

错误的:

 <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />

正确的:

 <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no" />

posted @ 2016-04-02 09:07  Cchuying  阅读(1677)  评论(0编辑  收藏  举报