My website, www.sauleezy.altervista.org, is experiencing an issue that I have been unable to resolve. I have set up two different .css files for desktop (style.css) and mobile (handheld.css). In my index file, I included the following code:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css" media="only screen and (min-width: 1121px)">
<link rel="stylesheet" type="text/css" href="handheld.css" media="only screen and (max-width:1120px)">
This setup works fine when resizing the page on a computer, as it displays the correct mobile version. However, when trying to access the site from a smartphone, the content does not resize correctly. The only way to view the proper mobile version on my phone is by using Google Chrome's "Desktop mode." This displays the mobile version properly, but only if viewing it through a resized window as on a computer.
If you visit my website and try to experience this issue firsthand, I am confident that you will understand the problem. I hope my explanation makes sense, and I apologize in advance for any shortcomings in my description.