Link to home
Start Free TrialLog in
Avatar of burnedfaceless
burnedfaceless

asked on

Web design for Windows Phone with CSS media queries

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?
Avatar of burnedfaceless
burnedfaceless

ASKER

Couldn't I just design a page for Windows phone and header to that? After determining it was a windows phone?
ASKER CERTIFIED SOLUTION
Avatar of Marco Gasi
Marco Gasi
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
design a page for Windows phone and header to that
You could, but I think the suggestion from @marqusG may be a wiser choice.
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.
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.
Basically let Windows display the desktop page. Then echo GPS directions for the phone.
It also could be a browser setting. I have a browser which has a display desktop setting. I need to find more windows phones.
But it displayed desktop menu. So that phone was really weird.

That's a weird approach.