Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm not sure what I'm doing wrong.

My media queries display different results depending on whether I'm viewing the results via a test tool like Matt Kersley's online test tool http://mattkersley.com/responsive or via my actual device.
None of my media queries is responding properly. Any ideas?
Thanks.

[EDIT - OP code from solution]
The problem is primarily with the menu. I'm trying to centre up the menus but the entire menu is slightly left justified on some devices i.e. Macbook Pro Retina, and centre justified on an old DELL LCD 1024 x 768.
Here is the code:
CSS
      header nav{
	/*background:#333;*/
	width:99%;
	height:10%;
	margin:auto;
	border: 1px solid red;
	border-radius:3px;
	-webkit-border-radius:3px; /*webkit browsers*/
	-moz-border-radius:3px;/*Mozilla browsers*/
	overflow:hidden;

      header nav ul{
	list-style:none;
	padding:0 4%;
	/*margin:0 11.5%;*/
	margin: 0 auto;
	display:inline;
}
}
[/EDIT]
Posted
Updated 26-Jun-14 12:27pm
v2
Comments
Richard MacCutchan 26-Jun-14 1:15am    
Not without some proper details of what your code is doing and what errors you are seeing.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900