Lösung gefunden:
es kommt auf die Reihenfolge der Einträge an. Die Abfrage sieht nun so aus und funktionert sauber auf iPhone 3G, iPhone 4, iPad und Desktop. Bei den Handhelds wird auch die Ausrichtung erkannt.
Vielleicht hilft es ja jemand - habe viel Zeit mit Probieren gebraucht.Code:/* Desktop mittel */ @import url("Desktop Mittel.css") only screen and (min-width : 481px) and (max-width : 950px) and (min-height : 481) and (max-height : 900px); /* Desktop */ @import url("Desktop.css") only screen and (min-width : 951px); /* Phone portrait */ @import url("Phone Portrait.css") only screen and (max-width:320px) and (max-height : 480px); /* Phone Landscape */ @import url("Phone Landscape.css") only screen and (min-width : 321px) and (max-width : 480px); /* iPhone4 p */ @import url("iPhone4 Portrait.css") only screen and (-webkit-min-device-pixel-ratio: 2) and (orientation : portrait); /* iPhone4 l */ @import url("iPhone4 Landscape.css") only screen and (-webkit-min-device-pixel-ratio: 2) and (orientation : landscape); /* iPad1 portrait */ @import url("iPad1 Portrait.css") only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait); /* iPad1 landscape */ @import url("iPad1 Landscape.css") only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape);


LinkBack URL
About LinkBacks
Zitieren