Problem: I have a smartphone optimized webpage but that page doesn't look as good on a desktop/pc. When I try making the desktop version look good, it is spoiling the mobile look. I want to be able to design the page that uses different parts of the code in a webpage depending on the device in question.
Is it possible to write device (desktop/pc or mobile device/smartphone) specific code in a single webpage?