Tuesday, 15 May 2012

html - CSS - Mobile Devices -


I have two .css files, a @ media only for the screen < / Code> and other @ media only max-device-width: 480px

html file, I have it: < Previous> & lt; Link rel = "stylesheet" href = "welcome_mobile.css" media = "max-width only: 480px" type = "text / css" /> & Lt; Link rel = "stylesheet" href = "welcome_style.css" media = "screen only" type = "text / css" />

But the mobile screen is not working, it's still showing the desktop screen & lt; Link & gt; Change the order

:) - The job may be depending on how you wrote the code ...

You can welcome_style.css media = "Only screen and (min - your problem is that only screen is still true for mobile ..

No comments:

Post a Comment