I have a standard website built in ASP.net for registration and everything works fine. However my website appears the same in a web browser as it does in a mobile phone browser, though I found a piece of code to differentiate between a mobile phone browser request and normal web browser requests (C#).
1. Can I use this code for optimal differentiation between mobile and PC browsers?
2. I know in order for my site to be displayed as a mobile-friendly version I have to write a separate CSS file. Can anyone suggest a resource or quick guide about how to best create this mobile css version?
I am not looking for third-party services which will convert current websites to mobiles ones, I’m willing to code from scratch!