Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Senior Member hagen's Avatar
    Join Date
    Aug 2005
    Posts
    408
    Member #
    10882
    Liked
    1 times

    Unhappy mobile screen not switching with media min-width... need avice

    Hi

    my mobile is 320x480 when I visit What is my screen resolution

    I have these lines in my header:

    <link rel="stylesheet" media="(max-width:600px)" href="/templates/jxwd/css/style-2-small.css">
    <link rel="stylesheet" media="(min-width:601px)" href="/templates/jxwd/css/style-2-large.css">

    So my mobile should see the style sheet "style-2-small.css" anyway thats what I was hoping...

    But what actually happens is it only switches to the small one if I set max-width:800px

    I am guessing I have missed some vital point...
    Hagen Rose: hagen(at)jxwd(dot)co(dot)uk
    JX Web Development, Bournemouth, Dorset...JXWD.co.uk

  2.  

  3. #2
    Senior Member hagen's Avatar
    Join Date
    Aug 2005
    Posts
    408
    Member #
    10882
    Liked
    1 times
    I have the answer! my viewport scale was set to 0.3 changed it to 1...

    Happy Days! :-)
    Hagen Rose: hagen(at)jxwd(dot)co(dot)uk
    JX Web Development, Bournemouth, Dorset...JXWD.co.uk


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:14 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com