When I am using the meta tag css is not getting loaded properly.

Here is my meta tag that I am using.

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>

I am using the above tag to disable the auto zooming of input fields in phones(iphone), but I have observed that, unfortunately when I am using above (meta)tag css is not getting loaded.

Here is my html around meta tag

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/styles/some_file.css" />
<link rel="stylesheet" href="/styles/file2.css" />

Does it matter in which position that meta tag is? (before/after the CSS)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.