understand media queries

Does anyone know of a source that will enlighten me as to what and what does not work in css support queries. For example, I'm trying to define different < h1 > sizes for different screen sizes. But when I discover the h1 for the largest screen in mutli screen dominates the smaller size of the screen, although I specified h1 of different sizes for different screen sizes.

Thanks for any help

Your support hook request closing is only @media in the wrong place for the screen and (min-width: 769px) css (see text in red below)

{.gridContainer}

Width: 88.2%;

Max-width: 1232px;

padding-left: 0.9%;

padding-right: 0.9%;

margin: auto;

}

{#LayoutDiv1}

Clear: both;

float: left;

left margin: 0;

Width: 28.5714%;

display: block;

}

{#menu}

Clear: both;

float: left;

left margin: 0;

Width: 100%;

display: block;

}

{#social}

Clear: both;

float: left;

left margin: 0;

Width: 100%;

display: block;

}

{#body}

Clear: both;

float: left;

left margin: 0;

Width: 100%;

display: block;

}

} WATCHING HER HERE

{.centerAlign}

text-align: center;

}

{p}

do-family: "Lucida Sans Unicode", "Lucida Grande", without serif.

do-size: 1em;

Color: #666666;

}

H2 {}

do-family: Georgia, "Times New Roman", Times, serif;

font size: 1.5em;

color: #330066;

}

H1 {}

font size: 2.5em;

do-family: Verdana, Geneva, without serif.

color: #CC232A;

}

} WHEN SHE SHOULD BE HERE

Tags: Dreamweaver

Similar Questions

  • Firefox 9 support for css3 media queries

    9 Firefox behaves differently in previous versions with regard to css3 media queries. Is it possible to behave properly?

    I use the different style settings based on the width. FF9 ignores changes in width and does is display the maximum width of css. Older versions would use different parameters based on the width of the browser currently has been.

    @media only screen and (max-width: 320px) {
    	...my styles here
    }
    @media only screen and (min-width: 321px) and (max-width: 480px) {
    	...my styles here
    }
    @media only screen and (min-width: 481px) and (max-width: 700px) {
    	...my styles here
    }
    @media only screen and (min-width: 701px) and (max-width: 960px) {
    	...my styles here
    }
    @media only screen and (min-width: 961px) {
    	...my styles here
    }

    I finally had to use just to make the media queries work properly in FF9:

    http://code.Google.com/p/CSS3-mediaqueries-js/

  • CSS media queries

    Making browsers OS 5 and 6 both CSS media queries? I am trying to create style sheets separate to a Torch, Bold (9700) and a curve (9300).

    http://forabeautifulweb.com/blog/about/hardboiled_css3_media_queries/

    Jason,

    You can try with something like that.

    sCSS is the string name of the CSS, so you can create different files, based on the model of BlackBerry or smart phone BlackBerry width.

    sCSS can be for example: stylesheet9700.css, stylesheet9300.css,... or stylesheet480.css, stylesheet360.css,...

    var oLink = document.createElement("link")
    oLink.href = sCSS;
    oLink.rel = "stylesheet";
    oLink.type = "text/css";
    document.body.appendChild(oLink);
    

    All the best

  • Messaging clients managing media queries?

    Messaging clients managing media queries?

    Hey,.

    Here is the list of e-mail Client that support Media queries:

    Device/Email Client Questions from the media
    iOS (iPhone/iPad) Yes
    Native Client Android 4.x Yes
    Android Outlook Exchange via the native client NO.
    Outlook.com Android app Yes
    Android Gmail app NO.
    Yahoo! Mail Android app NO.
    Gmail (browser Android) NO.
    Outlook.com (browser Android) NO.
    Yahoo! Mail (browser Android) NO.
    Windows Phone 7 NO.
    Windows Phone 7.5 Yes
    Windows Phone 8 NO.
    BlackBerry OS 6 Yes
    BlackBerry OS 7 Yes
    BlackBerry Z10 Yes
    Native client Kindle of fire Yes

    Thank you...

  • Disable Visual Media queries Bar

    I can click on the Visual Media Queries button located at the top of the document to remove the bars and the leaders to give me more space to work with. However, he always comes on time where the reopening of the document. How can I stop it from coming on altogether? I looked through the preferences but couldn't see it.

    Not yet, but it is possible with enough people vote, we can get it added...

    Don't forget to vote in favour in the ideas section: Do Visual Media 'Stick' query parameter

  • Media Queries

    Hey man,

    I was wondering how do I make my sensitive site - so it changes in response to this device, it is used, please?

    I'm pretty new to all this so if anyone has recommendations here is the Web site - http://www.prime-ticket.com

    Bibliography on Responsive Web Design.

    Nancy O.

  • change the order of the boxes in the different media queries

    How can I change the order of the boxes in the different media queries?

    Is the only work round copy box to the other control and pass the Display attribute in different media queries?

    Hi, thanks for your question. Reflow follows the rules of CSS and HTML. There is not a way to share or move objects in the DOM without using something like Javascript. We have avoided that and focuses only on CSS and HTML with reflow.

    Yes, you can use several boxes in different places and change their display as required. But I could to warn against this as it can add work for you and anyone else who can take this design and put into production. I could take a look at why you want to move the boxes autour and maybe find a simpler or more effective design model to follow to get a result, you would be happy with that. Hope that doesn't sound preachy, you should try it if you want and don't listen to me. Be that as it may, I would like to know how it goes!

  • Media Queries does not? I have several downloaded on the test link

    Hey guys...

    I had a lot of mobile problems with this site. I tried a few queries, I tried a lot of things, essentially same result.

    The biggest problem I see is the background does not appear. The menu is not centered, etc. But the wrong circles and inconsistencies in the pages really kills me.

    LINK

    The page author has several that I'm trying. If you look at the other pages, you will see that I started with 2 queries. No work anywhere. Provided background on the purchase only page on my Droid Mini.

    Thank you

    You use the device-width as in

    @media screen alone

    and (min-device-width: 768px)
    and (max-device-width: 1024px)
    and (orientation: landscape)

    Device-width returns to the screen (for example, 1024 to 1024 x 768) resolution, whereas the width refers to the width of the browser itself (which will be different from the resolution if the browser is not maximized). If your resolution is big enough to put you in a breaking point, but the width of the browser is small enough to enter another, you end up with a strange combination of the two.

    Unless you have a legitimate reason to restrict style sheets, based on the resolution and not the size of the window, then just use min-width/max-width and avoid the min-device-width/max-device-width.

  • Images of sensitive background with Media Queries

    Hello

    I am creating a mobile Web site in Dreamweaver and want to use a picture that will change with different device widths.  I use queries of media with background images.  My problem is that, so that background images to display, I need to assign a height to the div.  When the image is reduced height static rest, leaving the white space below.  So it will be below the image space white sink and look bad.  Is it possible to use several images with queries media bearing sensitive height?  Thank you!

    @media screen and (max-width: 1024px) {}

    {#mainImage}

    background-image: url (.. / images/mainImageLarge.jpg);

    background-repeat: no-repeat;

    background-position: top center;

    background-size: 100%;

    height: 272px;

    border-top-width: 3px;

    border-top-style: solid;

    border-bottom-color: #FFF;

    }

    }

    @media only screen and (max-width: 480px) {}

    {#mainImage}

    background-image: url (.. / images/mainImageMed.jpg);

    background-repeat: no-repeat;

    background-position: top center;

    background-size: 100%;

    height: 107px;

    border-top-width: 3px;

    border-top-style: solid;

    border-bottom-color: #FFF;

    }

    }

    @media only screen and (max-width: 320px) {}

    #mainImage img {}

    background-image: url (.. / images/mainImageSmall.jpg);

    background-repeat: no-repeat;

    background-position: top center;

    background-size: 100%;

    height: 150px;

    border-top-width: 3px;

    border-top-style: solid;

    border-bottom-color: #FFF;

    }

    }

    As in this example:

    http://ALT-Web.com/FluidGrid/fluid-4.html

    METHOD:

    Insert 2 images - one for desktops and one for mobile.  Assign classes to each image.

    class = "desktop" src = "desktop_image.jgp" / > "

    class 'mobile' = src = "mobile_image.jpg" / >

    In your CSS, use display: no and display: block to show/hide.

    .desktop {}

    Display: block;

    }

    .mobile {}

    display: none;

    }

    / Special rules for mobile devices * /.

    @media only screen and (max-width: 480px) {}

    . Desktop {display: none}

    .mobile {display: block}

    }

    Feel free to put your break points however you like.

    Nancy O.

  • Several CSS files accessed by Media Queries vs. Dreamweaver fluid grid approach

    Is it better to insert the media in the head of a HTML file that refers to one of several CSS files depending on whether the device moble, plate, or office or is it possible to use the approach of fluid grid of Dreamweaver layout that evokes a single large CSS file with all the instructions for the three formats. I understand that it is the only choice you have if you use the grid to fluid. I just worry that this could slow down a mobile connection to load three sets of instructions CSS when only one is necessary.

    Take a look at the load time of my site that contains a huge CSS file.

  • Different Menu buttons for the different media queries?

    Hi, I searched everywhere for more information on how to make the menu buttons different on the different media and have not found an answer. I thought that I should ask here to see if one of you maybe able to help me as I have been helped here last time.

    I'm working out of Dreamweaver 5.5, and I recently implemented three queries various media; Phone, Tablet and desktop. Everything was going smoothly until I reached the menu buttons, the current menu buttons on my site are not fit for the use of the phone and could make it very difficult to navigate mobile. I went ahead and opened photoshop and created the different design bigger and easier to use the buttons. Change the layout of each quiery using CSS is no problem, but I am unable to do it with the menu buttons because they are outside the codification of the source.

    Basically what I ask, is it possible to change the graphics on the request of phone without changing them on two other requests? Like last time, this site has not yet been published and is still under construction so I won't be able to show a big part of it. I hope that my problem can be solved with just a mere mention or a method on how to do this in general for all sites, but I would be very happy for any help.

    You can use css display: none; in the css to hide and show support queries html areas you don't want display in different devices:

    Thus, in the application of media css for the smartphone would mask you 'navDesktop' and 'navTablet ':

    #navDesktop, {#navTablet}

    display: none;

    }

    I don't know if it will work, I think on my feet. I see no reason why it will not take.

  • Problems with media queries

    I gave my picture a 3 image class and set the width as 100% block and display with a margin of 1% and then down I was devoted to questions from the media and changed the width of block inline display of 49%, 1% margin on the left and left float and there is no change in the browser below is the code

    <! doctype html >

    < html >

    < head >

    < meta charset = "utf-8" >

    < meta name = "viewpoint" content = "width = device-width, original scale = 1.0" >

    < title > Austalia | Home < / title >

    " < link href =" https://fonts.googleapis.com/CSS?family=Raleway:400,300 "rel ="stylesheet"type =" text/css"> "

    < link href = "aussie.css" rel = "stylesheet" type = "text/css" > "

    < / head >

    < body >

    < nav class = "nav" >

    < ul >

    < li > < a href = "index.html" > Australia < /a > < /li >

    < li > < a href = "placestosee.html" > places to see < /a > < /li >

    < li > < a href = "thingstodo.html" > Things to Do < /a > < /li >

    < li > < a href = "planyourtrip.html" > plan your visit < /a > < /li >

    < /ul >

    < / nav >

    < div class = "header" >

    "< img src =" images/1200lagoons.jpg"alt =" "width ="1200"height ="200"class ="image1"/ >

    < h1 class = "h1" > Discover Australia < / h1 >

    < / div >

    < h2 class = "h2" > welcome to Australia < / h2 >

    < div class = "video-wrapper" >

    < div class = 'container-video' >

    " < iframe width ="560"height ="315"src =" https://www.YouTube.com/embed/vUF7ja9ehIs "frameborder ="0"allowfullscreen > < / iframe > "

    < / div >

    < / div >

    < div class = "maincontent1" >

    aquatic and coastal experiences unique to the Australia of Discover < h2 > < / h2 >

    < p > Australia is not just a place you see, it's a place feel you < /p >

    < / div >

    < h3 class = "h3" > what's new in Australia < / h3 >

    "< img class ="image2"src =" images/cruiseboat1.jpg"alt =" "width ="480"height ="240"/ >

    < img class = "3" src = "images/480winery.jpg" width = "480" height = "240" alt ="" / > "

    "< img class ="image4"src ="images/biddlecombe1.jpg"width ="480"height ="240"alt =" "/ > < img src =" images/480chineseyear.jpg "width ="480"height ="240"class ="picture5"alt =" "/ >

    < img src = "images/foodforaging1.jpg" width = "480" height = "240" class = "image6" alt ="" / > "

    < h4 class = "h4" > Australian holiday ideas < / h4 >

    < img src = "images/coast1..." "jpg" alt ="" width = "480" height = "240" class = "image7" / >

    < img src = "images/ad1.jpg" width = "480" height = "240" class = "image8" alt ="" / > "

    "< img src =" images/outback1.jpg"alt =" "width ="480"height ="240"class ="image9"/ >

    "< img src =" images/nat1.jpg"alt =" "width ="480"height ="240"class ="image10"/ >

    < img src = "images/walkaust1.jpg" alt = "image11" width = "480" height = "240" class = "image11" / > "

    "" < img src = "images/threeday1.jpg" alt ="" width = "480" height = "240" class = 'image12' / > < img src = "images/48hour1.jpg" alt ="" width = "480" height = "240" class = "image13" / >

    "" < img src = "images/threeweek1.jpg" alt ="" width = "480" height = "240" class = "image14" / > < img src = "images/selfdrive1.jpg" alt ="" width = "480" height = "240" class = "image15" / >

    "< img src =" images/600abo1.jpg"alt =" "width ="600"height ="240"class ="image16"/ >

    < h4 class = "h4" > @Australia < / h4 >

    "< img src =" images/dolphins.jpg""alt ="" width = "480" height = "240" class = "image17" / >

    < img src = "images/grampians.jpg" width = "480" height = "240" class = "image18" alt ="" / > "

    < img src = "images/capelitrap.jpg" width = "480" height = "240" class = "image19" alt ="" / > "

    < img src = "images/heartreef.jpg" width = "243" height = "240" class = "image20" alt ="" / > "

    < img src = "images/quayrestaurant.jpg" width = "480" height = "240" class = "image21" alt ="" / > "

    < footer class = 'footer' >

    < nav class = 'navi' >

    < ul >

    < li > < a href = "index.html" > Australia < /a > < /li >

    < li > < a href = "placestosee.html" > places to see < /a > < /li > ""

    < li > < a href = "thingstodo.html" > Things to Do < /a > < /li > ""

    < li > < a href = "planyourtrip.html" > Plan Your Trip < /a > < /li > ""

    < /ul >

    < / nav >

    < / footer >

    < / body >

    < / html >

    @charset "utf-8";

    . Header {}

    }

    . NAV {}

    background-color: #3A 8879.

    Width: 288%;

    padding-top: 3%;

    padding-bottom: 2%;

    margin-top:-3%;

    margin left:-6%;

    }

    . NAV ul li {}

    text-decoration: none;

    display: inline;

    padding-right: 2%;

    text-align: center;

    padding-left: 2%;

    }

    ul li a {}

    color: #FFFFFF;

    text-decoration: none;

    do-family: "Raleway", without serif.

    line-height: normal;

    do-size: 1em;

    }

    {.image1 .header

    Width: 104%;

    left margin:-2%;

    position: absolute;

    left: 0%;

    z-index: 0;

    font size: 1.5em;

    }

    {.h1 .header

    position: absolute;

    color: #FFFFFF;

    top: 17%.

    left: 34%;

    do-family: "Raleway", without serif.

    font size: 1.25em;

    }

    . H2 {}

    text-align: center;

    do-family: "Raleway", without serif.

    do-size: 1em;

    color: #272525;

    top of the margin: 48%;

    }

    . H3 {}

    text-align: center;

    do-size: 1em;

    top of the margin: 96%;

    }

    {.h4}

    text-align: center;

    color: #585050;

    font size: 1.75em;

    }

    {#h3}

    text-align: center;

    color: #121111;

    font size: 1.5em;

    }

    . MainContent {} .h2

    text-align: center;

    Color: #000000;

    top of the margin: 63%;

    do-family: "Raleway", without serif.

    do-size: 1em;

    }

    {.maincontent1}

    text-align: center;

    position: absolute;

    left: 5%;

    background-color: #EFECD1;

    top of the margin: 39%;

    Width: 92%;

    }

    .maincontent1 h2 {}

    do-size: 1em;

    text-align: left;

    padding-left: 4%;

    do-family: "Raleway", without serif.

    }

    .maincontent1 p {}

    padding-left: 4%;

    text-align: left;

    }

    video-container {}

    position: relative;

    padding-top: 30px;

    height: 0;

    overflow: hidden;

    padding-bottom: 56.25%.

    }

    . Video-container iframe,

    .video-container object,

    . Video-container incorporate {}

    position: absolute;

    high: 56%;

    left: 5%;

    Width: 92%;

    height: 43%;

    }

    {.image2}

    Width: 104%;

    }

    {.image3}

    max width: 104%;

    display: block;

    }

    {.image4}

    max width: 104%;

    display: block;

    }

    {.image8}

    }

    {.image5}

    margin-bottom: 2%;

    }

    {.image6}

    }

    . H3 {}

    }

    {.image7}

    margin-bottom: 1%;

    top of the margin: 2%;

    }

    {.image8}

    margin-bottom: 1%;

    }

    {.image9}

    margin-bottom: 1%;

    }

    {.image10}

    margin-bottom: 1%;

    }

    {.image11}

    margin-bottom: 1%;

    }

    {.image12}

    }

    {.image13}

    margin-bottom: 1%;

    }

    {.image14}

    margin-bottom: 1%;

    }

    {.image15}

    margin-bottom: 1%;

    }

    {.image16}

    margin-bottom: 2%;

    left margin: 0%;

    }

    {.image17}

    margin-bottom: 1%;

    }

    {.image18}

    margin-bottom: 1%;

    }

    {.image19}

    margin-bottom: 1%;

    }

    {.image20}

    margin-bottom: 1%;

    Width: 104%;

    }

    {.image21}

    margin-bottom: 1%;

    }

    .footer {}

    background-color: #3A 8879.

    Width: 105%;

    padding-top: 1%;

    padding-bottom: 1%;

    margin left:-1%;

    margin-bottom:-1%;

    }

    .footer .navi {}

    list-style-type: none;

    text-align: center;

    }

    . Navi ul li {}

    display: inline;

    padding-right: 2%;

    }

    . H3 {}

    text-align: center;

    do-family: "Raleway", without serif.

    Color: #000000;

    }

    @media screen and (orientation: portrait) and (min-width: 768px) {}

    {.image3}

    right margin: 1%;

    margin-bottom: 1%;

    Width: 49%;

    display: inline;

    float: left;

    }

    {.image4}

    Width: 49%;

    }

    }

    You have NOT set .image3 to 100% you have set it to 480px in code. Delicate design does not work like that. If you want the image to be sensitive so you do not set a line of width/height.

    You must change this:

    To do this:

    And this:

    {.image3}

    max width: 104%;

    display: block;

    }

    To do this:

    {.image3}

    max width: 104%;

    height: auto;

    }

    In your code you also have an additional "after .jpg '.

  • Liquid and Media Queries

    Very simple question here, that I can't find anywhere. Then the liquid manage questions from the media? I would like to create a responsive design which comes at a certain, liquid width allows to identify a browser width?

    I was just on the Academy BC and they seem to have a problem of what I'm looking for:

       
    ?visitordeviceclass=tablet|phone|desktop|auto
    
    
    {% if globals.visitor.deviceClass == "tablet" %}
    {% assign thumbnail = "?Action=thumbnail&Width=767" %}
    {% elsif globals.visitor.deviceClass == "phone" %}
    {% assign thumbnail = "?Action=thumbnail&Width=480" %}
    {% else %}
    {% assign thumbnail = "" %}
    {% endif %}
    

    Maybe I asked the wrong question, but I want just the code to detect which device the browser is on. This code seems to work perfectly for what I'm trying to do.

    Thanks for the information!

    See you soon

  • Adobe Edge reflow Media Queries?

    I created a design in suffering, but when I change the design to another breakpoint, my default images are made. How can I create three different models in three different breakpoints without affecting the others?

    Yes, I'm not a fan of programs that cause code to export its usually not optimized or correct most of the time... I write my HTML code by hand... Since HTML is just a markup language is really easy...

    This is a good web of departure if you need that - https://html5boilerplate.com

    and when you start media you should get a nice Starter html template too...

  • Hide the div tags in the media queries

    Hello

    I ran into a bit of a problem trying to get some div tags appear on some devices. I thought that if a div has been set to hidden then it does not appear. I pasted my code below.

    The theory behind my design is to have a different fixed background on the desktop image, Tablet and phone. So I inserted a transparent image on top to control how image is seen on each window.

    "What I try to achieve is when the site is displayed on a desktop ' #large-ipad" is hidden and the ' #-wide image' is seen. "" And then once the site reaches the correct display window i.e. an ipad ' #large-ipad ' becomes visible and the ' #-wide image "is hidden. Then a third image will swap when it is read on a mobile device, but I have not to this article yet.

    When it is viewed on a desktop computer I think it is still showing the image sheets before the roll content.

    This is just a test at the minute, so there is no content and background images are set on my computer. If you don't know what I'm after, please ask and I will try to rephrase my description.

    @media only screen and (min-width: 481px) {}

    {.gridContainer}

    Width: 100%;

    padding-left: 0%;

    padding-right: 0%;

    margin: auto;

    background-attachment: fixed;

    background-image: url(images/bg-ipad.jpg);

    background-repeat: no-repeat;

    background-position: top center;

    -webkit-background-size: cover;

    -moz-background-size: cover;

    -o-background-size: cover;

    background-size: cover;

    }

    {#LayoutDiv1}

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    background-color: #FFF;

    padding-top: 20px;

    padding-bottom: 20px;

    }

    {# image - wide

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    visibility: hidden;

    }

    {#body - text

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    background-color: #FFF;

    padding-top: 300px;

    padding-bottom: 300px;

    }

    {#large-ipad}

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    }

    }

    / * Desktop layout: 769px for a max of 1920px.  Inherits the styles of: Mobile and tablet. */

    @media only screen and (min-width: 769px) {}

    {.gridContainer}

    Width: 100%;

    Max-width: 1920px;

    padding-left: 0%;

    padding-right: 0%;

    margin: auto;

    background-attachment: fixed;

    background-image: url(images/bg-image.jpg);

    background-repeat: no-repeat;

    background-position: top center;

    -webkit-background-size: cover;

    -moz-background-size: cover;

    -o-background-size: cover;

    background-size: cover;

    }

    {#LayoutDiv1}

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    height: 70px;

    z-index: 1000;

    background-color: #FFF;

    position: fixed;

    Top: 0px;

    }

    {# image - wide

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    position: static;

    z-index: 0;

    }

    {#body - text

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    background-color: #FFF;

    padding-top: 300px;

    padding-bottom: 300px;

    }

    {#large-ipad}

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    visibility: hidden;

    overflow: hidden;

    }

    }

    Any help would be massively appreciated I really want the effect I'm after.

    Kind regards

    Alex

    Hi all

    Think I have asked this question a little prematurely. I thought it, just needed to change the None display: display: none;

    Sorry to take your time to read above.

    See you soon,.

    Alex

Maybe you are looking for