Solved

Web design for Windows Phone with CSS media queries

Posted on 2013-12-13
8
383 Views
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?
0
Comment
Question by:burnedfaceless
[X]
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
8 Comments
 

Author Comment

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

Accepted Solution

by:
Marco Gasi earned 500 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
0
 
LVL 110

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.
0
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
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.
0
 

Author Closing Comment

by:burnedfaceless
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.
0
 

Author Comment

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

Author Comment

by:burnedfaceless
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.
0
 

Author Comment

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

That's a weird approach.
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

717 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