Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
-3
rated 0 times [  4] [ 7]  / answers: 1 / hits: 28659  / 11 Years ago, tue, october 8, 2013, 12:00:00

I am getting this error in JavaScript:




Viewport argument value device-width; for key width is invalid, and has been ignored. Note that ';' is not a separator in viewport values. The list should be comma-separated.




How do I fix this?


More From » html

 Answers
67

I had this same error. Oddly, it's quite simple to fix. Just change the semicolons for commas, like in:



<meta name=viewport content=width=device-width, height=device-height, initial-scale=1.0, user-scalable=yes>

[#75143] Monday, October 7, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
stacyl

Total Points: 131
Total Questions: 105
Total Answers: 94

Location: Egypt
Member since Tue, May 3, 2022
2 Years ago
;