<link rel="stylesheet" media="screen and (min-width: 20px) and (max-width: 375px) and (orientation:portrait)" href="css/detailsLayout280.css" />
<link rel="stylesheet" media="screen and (min-width: 20px) and (max-width: 375px) and (orientation:portrait)" href="css/copy280.css" />
<link rel="stylesheet" media="screen and (min-width: 376px) and (max-width: 700px) and (orientation:landscape)" href="css/detailsLayout320.css" />
<link rel="stylesheet" media="screen and (min-width: 376px) and (max-width: 700px) and (orientation:landscape)" href="css/copy320.css" />
CSS가 처음 iPhone에로드되지 않는 페이지가 있는데, 앞뒤로 방향을 전환하면됩니다.CSS가 iPhone에로드되지 않습니다. 새로 고침
새로 고침을 클릭하면 방향 변경을 다시 수행 할 때까지 CSS가 다시로드되지 않습니다.
보조 페이지에서만 발생합니다. 홈 페이지는 거의 동일한 방식으로 설정되며 정상적으로 작동합니다.
나는이있다 : 나는 아이 패드 CSS에 필요한
<meta name="viewport" content="width=device-width, initial-scale=1">
합니다. 이 문제를 해결하면 문제는 전화를 통해 없어지지만 (축소 된 상태 임에도 불구하고) iPad 용으로 필요합니다.
방향을 변경하지 않으면 왜 CSS가로드되지 않습니까?
감사합니다.
그가 PHP를 어떻게 사용하고 있는지 어떻게 알 수 있습니까? – MiniRagnarok
@MiniRagnarok - 좋은 지적. 편집 중. – Grzegorz
나는 뭔가를 놓친다 고 생각했다. :) – MiniRagnarok