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

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.
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

LVL 54

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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

This article discusses how to implement server side field validation and display customized error messages to the client.
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses
Course of the Month14 days, 12 hours left to enroll

840 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