Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

636 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