I am currently working on Macrowave Dreamweaver 8 to develop my website. I want to ensure that my website is displayed properly on all devices. In my project, I have an index.css
file which contains styles for desktop view, and an index_mobile.css
file which includes styles for mobile devices.
To optimize the mobile version, I have used display:none
in the index_mobile.css
file for div
elements that are not required for mobile devices. Then, in my index.htm
file, I imported the CSS files as follows:
@import url(LAYOUT/index.css);
@import url(LAYOUT/index_mobile.css);
However, there was no visible change after implementing this. What could be causing this issue?