Set the width of the mobile display according to device-width

Hello

How can I set width of viewport meta depending on the value of width mobile device?

That is to say:

If device-width < = width 960px then viewport = 960px

If device-width > width 960px then viewport = device-width

Hello

You must set using pixels css not size in pixels for the width of the screen (physical width)

Another suggestion would be to use % of the value for the width if you set width = device for window width value.

You should try it on your end.

Useful links:

https://developer.Mozilla.org/en/docs/Mozilla/mobile/Viewport_meta_tag

https://developers.Google.com/speed/docs/insights/ConfigureViewport

-Opera-Mobile-9-7-10-works http://StackOverflow.com/questions/1974703/Meta-Viewport-Device-Width-Wrong-Width-Small-on

Thank you

Sanjit

Tags: Adobe Muse

Similar Questions

  • can't get out of the mobile display

    I saved and closed a sensitive project last night, and now when I open it, it shows that the display of the phone. I had worked on in all three sizes. I'm looking for a way to get them back, but couldn't find.

    I lose all the formatting the views computer and Tablet? Help! Or I mean, scream!

    Thank you!

    Hi dowbright,

    Do you mean that you're stuck in the Mobile display in the editing of your project area and unable to switch between views? Or is the Mobile view only display you are able to see?

    Could you share the cptx in question?

    Thank you

    MohanA

  • How to set the mobile site to an already existing Web site?

    It is the first time that I'm building a mobile site of the query.  There will be a mobile version of an already existing Web site.  I have no problem with the coding, but I was wondering how do I set the site.  I have to create a new or keep it in the same local root folder? And once done, it will automatically resume on mobile devices or there at - it a code I need to add to my Web site to allow the mobile version override her? Thank you.

    If you want to use the URL m.domainname.com, then it is best to place the index file in this folder, which is the root/m in order to run by default. Other files/assets are related, that's why it doesn't matter where they are as long as the link is correct.

    By the way, m.domainname.com is the same as domainname.com/m

  • How to set the page display

    When you export a file in InDesign to create a pdf file, how can set you the page display in Acrobat so when someone opens the file, they will see the following page: two places continues, show the gaps between pages, see banner in two places.

    You click on the attachment and see the setting for two upward and two continuous?

    Do you know if the form is based on XML. If so, it was created on a PC using an exclusive method of creating forms for PC.

    I found this:

    1. Create your PDF
    2. Then click on the Document properties
    3. Then click on the button next to the Layout Page
    4. Choose two continuous or two up.
    5. Click OK.
    6. Then save the PDF file.

    See attachment.

  • How to set the default zoom according to the screen in Linux level?

    Starting from the same account, I can use different types of screens: low and high DPI. I would like to have the font size (and more generally, the zoom level) right of each screen.

    To set the default zoom level, you can set the layout.css.devPixelsPerPx, but we can't define it it fixed-value, which is not OK, because I would like that the value depends on the environment (as for the font size in the menu which is always OK, because it depends on the resource Xft.dpi X 11).

    Note: I have several profiles, while it is not even possible to write a wrapper that could modify the prefs.js file, because I don't know in advance which file would I need to change.

    What can I do?

    One possibility would be to use the mozilla.cfg file in the Firefox program folder.
    This file can contain JavaScript that runs with full chrome privileges and it it not difficult game of the pref layout.css.devPixelsPerPx to a correct value for the screen currently attached.
    You will need to know how to calculate the dimensions of the screen.

  • How to set the headset as default playback device

    When I got my headphones plugged, I can hear some things through them. How to make it ALL coming through my headphones when it is plugged?

    If I use Skype he will feed only Skype through my headphones.  If I try to watch a movie or play something else with the audio through my headphone the sound through my speakers.  I want that all THE sounds coming through my headphones when I plugged it in.  Any help?

    Hello
     

    This occurs when you have external speakers, by default. We need to put the headset as default.
    Exercise the functions mentioned below to set the headphones as default:
    1. go to Start and click on Control Panel .
    2. click on her, then a new window will open.
    3. in the new window click on the "Playback" tab and right-click in the window and click onShow disabled devices.
    4. now check if headphone is listed there and right-click on it and choose activate.
    5. Select the headset and click on "as default'.»»
     
    For more information, refer to tips to solve common sound problems. 
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to set the default display settings in Explorer windown

    Most of the time, Explorer windows of windows 7 has been a disappointment.  When I open it, the right pane is too narrow for most of my file names and I would also like to see the details at the same time.  Drag to expand the functionality (double arrow icon thing) is so sensitive that it usually takes me 4 or 5 tent to catch so I can drag more broad (it disappears usually when I try to move it).  I would like to be able to set a default width in the right pane that is wider than what is happening now, or have something that would make it easier to grasp widen function

    If you are referring to the columns in the Details view, try this:

    1 - click any file or folder to select it.
    2. on your keyboard, hold Ctrl key while pressing the + on the numeric keypad (sorry, it won't work with the sign more near the BACKSPACE key).
    This should automatically adjust the details of the columns to contain the content they contain.
  • Set the thumbnail display of new tab homepage

    I want a new window to open with the thumbnails of my favorite sites.

    I've implemented the "Home Page" option with "subject: newtab ' and I'm sure that it worked until a few days ago.

    I already searched the knowledge base and checked the settings "topic: config" suggested in other topics (http://support.mozilla.org/en-US/questions/931476) and that they are correctly placed.

    My machine
    I have an old macbook with 2 system boots 2008: Leopard and Snow Leopard. I'm sure that this setting works fine on both and now he is not on the boot of Leopard. I know, this operating system is not supported, but I put the ' topic: newtab ' AFTER the last update that notified the system is no longer supported.

    Since then, I have not installed any extension or theme: the browser is a stock with the last update of the possible.

    Thanks for the comments.
    No I didn't have just a blank page, no button or anything.

    Turns out that also on my second boot (Snow Leopard) I suddenly lost the thumbnails on the homepage.

    I was able to recover if: I have just to have a "blank Page" in settings (via the button in the pane), closed settings, reopened the window and the value "on: newtab ' and now I have thumbnails back.

    I would say that was caused by an update of the OS or Firefox, but Firefox on Leopard does not update more and Leopard either.

  • How to set the new display root (pop all the screens and screen to push a single root)

    All,

    in my application, the user can move from one screen to the other and back. but as soon as the user has a special screen (such as the password reset screen), should not be able to come back.

    How can I prevent the user to go back? on the iPhone, such a thing is called 'new set root screen' which leads all permeable screens are exploded and that the current screen is on the stack.

    How to proceed on blackberry?

    Thank you

    You can use getActiveScreen to retrieve the screen current and anti-pop who undisplay.

    You can do it in a loop until the last screen is reached.

    not a very good style, but quite possible.

  • When I resize my browser the mobile display "sandwich" button disappears.  Why?

    I created a menu in Dreamweaver locally and it works very well.  Then, I downloaded the menu on my site.  I had to update the path to the .css and .js files and they work great except for the small drop-down list to the right of the menu.  I guess I need to change my code to make the visible button but I can't find the code in bootstrap.css or anywhere to point to the button.

    Can someone help me with this?  How to make the button visible again?

    Thanks for any help on this.

    I found the problem... rookie mistake.  For some reason I have a label that bears the name of the navigation bar and I have it configured to display: No.  It solved!

  • How to set the DEFAULT DISPLAY font in Acrobat DC?

    When viewing PDF files, my default screen is difficult to read.  How can I change the type and the size of the font?

    If you mean the font on the pages themselves, there is absolutely no defects. Each PDF lists specific to use font.

    If you mean the police in the windows, dialog boxes, buttons, controls, it is provided by the system and cannot be changed.

  • In the mobile display, I am able to make a larger image and expand to fill the screen (or better) when selected?

    I have tried different methods but had no luck so far, thank you for your time.

    You can create a popup hyperlink to a field that contains only the image. If you're feeling adventurous, you can use an option like Colorbox JavaScript to create image popups. This isn't the default feature HR and will require a bit of coding.

  • How to set the iCloud keychain to another device?

    How to set up the Keychain for iPad iCloud 3rd generation?

    How to configure iCloud Keychain on iPhone, iPad and Mac

  • I can't set the HDMI output as default device and I don't get sound from the HDMI output.

    I have been all over these forums and the most useful tips I found, I was not yet able to implement. On the reading tab, there is no Audio HDMI option (Yes, I have two disabled devices show as well as the options show disconnected devices checked) is simply not there.  Someone mentioned set up the speakers as default (I don't have speakers) or possibly definition Realtek Digital Output as default, (the option set as default value is grayed out) I rolled back drivers, drivers updated, unplugged, replugged, rebooted, shut down and was strongly tempted to throw the PC the trash bin as well as my xbox (just for good measure). Is someone can you please tell me what I'm supposed to do now, in addition to courses and purchase of a mac.

    Windows Vista Home Premium SP2 64-bit
    with the NVIDIA GeForce GTS 250 graphics card
     
    Original title: audio HDMI cable no.

    I have been all over these forums and the most useful tips I found, I was not yet able to implement. On the reading tab, there is no Audio HDMI option (Yes, I have two disabled devices show as well as the options show disconnected devices checked) is simply not there.  Someone mentioned set up the speakers as default (I don't have speakers) or possibly definition Realtek Digital Output as default, (the option set as default value is grayed out) I rolled back drivers, drivers updated, unplugged, replugged, rebooted, shut down and was strongly tempted to throw the PC the trash bin as well as my xbox (just for good measure). Is someone can you please tell me what I'm supposed to do now, in addition to courses and purchase of a mac.

    Windows Vista Home Premium SP2 64-bit
    with the NVIDIA GeForce GTS 250 graphics card

    ==========================================================
    The following article might be worth a visit:

    Windows Vista - HDTV: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/HDTV-frequently-asked-questions
    (See _ why don't I hear audio when I connect my computer to a HDTV)
  • How can I set the time on the toolbar of the low wing? When I click on the taskbar do a right-click and then click Properties, it does not give me the option to display the time?

    How can I set the time display on the toolbar of the low wing?  When I click with the right button on the taskbar, and click show properties, it does not give me the options to display the time?  Where should I go in windows 7 to do this?  I clicked on the date and time also, and it does give me an option to add there either. Please help.

    Thank you

    How can I set the time display on the toolbar of the low wing?  When I click with the right button on the taskbar, and click show properties, it does not give me the options to display the time?  Where should I go in windows 7 to do this?  I clicked on the date and time also, and it does give me an option to add there either. Please help.

    Thank you

    Right-click the taskbar, and then select Properties. On taskbar you of the tab, click Customize. Scroll to the clock and change the "behaviours" on it.

Maybe you are looking for

  • Migration to the new leading directory of Xcode 7.3.1 PCH errors

    I moved my folder under/User to an another new update short user name folder. Just fine, except when I ran Xcode 7.3.1 only he had the build errors referring to the former name of folder.  Locations is set correctly using the new name of the folder,

  • Can not download Gmail attatchments

    I have several g-mails with attachments in PDF. I'm unable to download and save. I get an error message with a url of g-mail, as well as a message Impossible to download. I probably have a wrong setting, but when I open my g-mail account in Safari an

  • Is it possible to merge videos?

    Is it possible to merge short videos that I took with my iPhone 5 to make a video?

  • Basler spL2048 - 70km with card PCIe-1433, low cadence

    Dear community LabView, I'm trying to run a Basler Sprint Mono spL-2048-70 km with a frame grabber module NI PCIe-1433. While the initial start-up was plug-and-play, turning the camera to the specified maximum speed (300 kHz) proves to be a challenge

  • Reading of the text files with mixed data types.

    I was able to read a text file ASCII with different types of numbers (whole, real) and the chains are associated.  However, I can't read a timestamp that is in the calendar and the clock for carpet (dd/mm/yy HH).  In view of the line 34 03/26/12/11 0