Solved

Web design for Windows Phone with CSS media queries

Posted on 2013-12-13
8
380 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
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 109

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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 52

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

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.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

776 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