Web design for Windows Phone with CSS media queries

Posted on 2013-12-13
Medium Priority
Last Modified: 2014-11-12
Has anyone noticed that Windows phone responds to media queries but also thinks it's a desktop computer.

Is php the best route for this?
Question by:burnedfaceless
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 39717169
Couldn't I just design a page for Windows phone and header to that? After determining it was a windows phone?
LVL 31

Accepted Solution

Marco Gasi earned 2000 total points
ID: 39717200
In my little experience, it's not a general problem which involves all Windows phones: I have a couple a site I've tested with Windows phone and Android and they work fine with both devieces, so I think there is something wrong in your media queries. I suggest to post your css file here: if not me, some other expert sure will can help you better
LVL 111

Expert Comment

by:Ray Paseur
ID: 39717220
design a page for Windows phone and header to that
You could, but I think the suggestion from @marqusG may be a wiser choice.

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 39718204
I have not test this for windows and I have not used this script in a long time but it may do what you want http://detectmobilebrowsers.com

I agree that using media queries is the way to go.   I have had good success with http://getbootstrap.com/ and http://foundation.zurb.com/ as a base so you don't have to reinvent the wheel each time.

Author Closing Comment

ID: 39718806
I'm worried about android and iPhone right now. Then I will use php and work with Windows phone.

I gave you points because my media queries did not work with the framework I worked out of and I did not know that before I asked the question.

Author Comment

ID: 39718807
Basically let Windows display the desktop page. Then echo GPS directions for the phone.

Author Comment

ID: 39718809
It also could be a browser setting. I have a browser which has a display desktop setting. I need to find more windows phones.

Author Comment

ID: 39718810
But it displayed desktop menu. So that phone was really weird.

That's a weird approach.

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read about why website design really matters in today's demanding market.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question