Fluid grid Tablet: hidden divs live show

I'm new to model fluid grid, but I use Dreamweaver CS6 and I understand that the mobile CSS reverberates down to Tablet, and then to the office. However, I thought that I could hide divs by adding display: none; the CSS code in the view of the tablet. When I do this, it works very well in edit mode. Looks quite right. But when I check the live and browser hidden div view (s) is clearly visible, for example:


I have 3 divs and I want everyone to be visible in only a point of view.


Div 1 = #mobile

Div 2 = #tablet

Div 3 = #desktop


I have do this in CSS:

/ * Mobile layout: 480px and below. */

{#mobile}

Clear: both;

float: left;

left margin: 0;

Width: 100%;

display: block;

}

{#tablet}

display: none;

}

{#desktop}

display: none;

}

/ * Tablet Layout: 481px to 768px. Inherits the styles of: Mobile layout. */

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

{#tablet}

Clear: both;

float: left;

left margin: 0;

Width: 100%;

display: block;

}

{#mobile}

display: none;

}

{#desktop}

display: none;

}

}

/ * Office Layout: 769px to a maximum of 1232px.  Inherits the styles of: Mobile and tablet. */

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

{#desktop}

Clear: both;

float: left;

left margin: 0;

Width: 100%;

display: block;

}

{#tablet}

display: none;

}

{#mobile}

display: none;

}

}

Everything looks good in edit mode. But when I see it alive, mobile is fine, office is fine, but Tablet view includes any mobile even if it is not supposed to show.

What I am doing wrong? Any help is greatly appreciated, and I can add my real code if necessary.

Thank you!

In your liquid - grid.css, line 124, you have a useless (and invalid) "}". This prevents the other CSS is expressed.

Tags: Dreamweaver

Similar Questions

  • Since the last update of CS6 DW, impossible to find arrow in fluid grids be silent div... any suggestions?

    Since the last update of CS6 DW, impossible to find arrow in fluid grids be silent div... any suggestions?

    Hi JoshuaACertain,

    That is a good Question.

    DW now inserts the new item of default new line fluid.

    If the user does not want to start a new line, then they can click on the button "Move up a line" (like on the screenshot), after insertion of the element.

    This was done mainly because after the class supports in place now, user, use this option once and then simply duplicate the item to get the desired result (i.e. the brothers side by side) with a single click...

    Please let me know if something was not too clear in the video, I'll be happy to explain the same thing.

    See you soon,.

    Puneet

  • Could I put in a fluid grid layout, a div with any property?

    Could someone please help me?, thanks

    Could I put another div in a layout fluid grid? Could put a div with a z-index value a fluid page layout grid? I could put a div with a transition to a fluid grid layout? Could I get any property of a div in a layout fluid grid?

    I can create a different stylesheet that takes all the fluid grids?

    forgive, but I have all these questions...

    Thank you and best regards.

    Fluid grid is right DW on "Sensitive" web design

    Any changes made to their fluid grid CSS break Visual AIDS that is displayed in design mode.

    Other than that, I don't see why you can't use a regular DIV within a checkerboard to fluid - and style it with one different CSS file (other than the presentation of the fluid grid CSS files).

    If you're referring to the CSS3 transitions, they work.

    Once again, as I said, fluid Grid layout is terminology just DW - any code you write it will work. However, if you want the full support of Visual AIDS, do not change the code manually in the default .css file. Feel free to add content / code in a different .css file.

    Good luck.

    -ST

  • Handles and options have disappeared from the fluid grid last in divs Dreamweaver cc?

    What happened to make these options disappear?

    Would it be something simple?

  • Dreamweaver CC fluid grid divs do not stretch to cover 100% of the screen

    Hello

    I do another sensible provision using DW CC and I came across a problem.

    Design colored divs that spans the entire page to 100% with a background color and borders.

    I already did the design upwards as a layout width fixed to get the color codes etc. and that works well, with colors that covers the screen.

    Now, I'm putiing design in DW CC using checkerboard to fluid and there is a white border on the Web site.

    I can't work on how to get rid of this. Here are excerpts from my two lots of CSS stylesheets, one for a presentation grid fixed and one for a structure reactive

    CSS FIXED WIDTH

    body, td, th {}

    do-family: Calibri;

    do-size: 14px;

    Color: #000;

    }

    {body

    left margin: 0px;

    margin-top: 0px;

    margin-right: 0px;

    margin-bottom: 0px;

    }

    * / The wrapper header spans the entire screen no matter what size and does not have a white border on the left and the right

    {#headerWrapper}

    background-color: #000;

    height: 101px;

    Width: 100%;

    margin-right: auto;

    left margin: auto;

    border-bottom-width: 2px;

    border-bottom-style: solid;

    border-bottom-color: #BDDB6D;

    }

    FLUID GRID CSS

    The fluid layout grid CSS has the following in it:

    {.fluid}

    Clear: both;

    left margin: 0;

    Width: 100%;

    float: left;

    display: block;

    }

    {.fluidList}

    list-style: none;

    list-style-image: none;

    margin: 0;

    padding: 0;

    }

    / * Mobile layout: 480px and below. */

    {.gridContainer}

    left margin: auto;

    margin-right: auto;

    Width: 86,45%;

    padding-left: 2,275%;

    padding-right: 2,275%;

    Clear: none;

    float: none;

    }

    {#div1}

    }

    * / This header wrapper extends through the presentation of the grid only and has a white border on the left and the right

    {#headerWrapper}

    Max-width: 100%;

    height: 101px;

    background-color: #000;

    border-bottom-width: 2px;

    border-bottom-style: solid;

    border-bottom-color: #BDDB6D;

    }

    What do I need add to the fluid grid layout to make the headerWrapper div span the screen, no matter what width?

    What should I put in the grid CSS transmissions so that he can do that?

    Thanks in advance!

    I did it! I can't believe. The code I used is followed. The bar divs set color and at the border through the entire page and the wrapper divs to contain content in the various bars across the page.

    I must say that DW CC fluid grids are much more stable to work with and it can take a lot of coding by hand now. This is a great improvement on when I tried to use grids of fluid on a project last year.

    IN THE SECTION MULTIMEDIA PHONE REQUEST

    {.gridContainer}

    left margin: auto;

    margin-right: auto;

    Width: 100%;

    padding-left: 0;

    padding-right: 0;

    Clear: none;

    float: none;

    }

    {#headerBar}

    background-color: #000;

    min-height: 101px;

    border-bottom-width: 2px;

    border-bottom-style: solid;

    border-bottom-color: #BDDB6D;

    padding-top: 2.735px;

    }

    {#headerWrapper}

    Width: 86,45%;

    padding-left: 2,275%;

    padding-right: 2,275%;

    Clear: none;

    float: none;

    left margin: auto;

    }

    {#menuAnimationBar}

    background-color: #B7B7B7;

    height: 293px;

    border-bottom-width: 2px;

    border-bottom-style: solid;

    border-bottom-color: #BDDB6D;

    background-image:-webkit-gradient (linear, 50.00% 0.00%, 50.00% 100.00%, color-stop (0%, rgba (153,153,153,1.00)), color-stop (100%, rgba (192,192,192,1.00)));

    background-image:-webkit-linear-gradient(270deg,rgba(153,153,153,1.00) 0%,rgba(192,192,192,1.00) 100%);

    background-image: linear-gradient (180deg, rgba (153,153,153,1.00) 0%,rgba(192,192,192,1.00) 100%);

    display: none;

    }

    {#contentBar}

    background-color: #F8FCF1;

    min-height: 200px;

    background-image:-webkit-gradient (linear, 50.00% 0.00%, 50.00% 100.00%, color-stop (0%, rgba (245,251,234,1.00)), color-stop (100%, rgba (251,253,247,1.00)));

    background-image:-webkit-linear-gradient(270deg,rgba(245,251,234,1.00) 0%,rgba(251,253,247,1.00) 100%);

    background-image: linear-gradient (180deg, rgba (245,251,234,1.00) 0%,rgba(251,253,247,1.00) 100%);

    }

    {#contentWrapper}

    Width: 86,45%;

    padding-left: 2,275%;

    padding-right: 2,275%;

    Clear: none;

    float: none;

    left margin: auto;

    }

    {#socialMediaBar}

    background-color: #000;

    min-height: 83px;

    border-top-width: 2px;

    border-bottom-width: 2px;

    border-top-style: solid;

    border-bottom-style: solid;

    border-bottom-color: #BDDB6D;

    border-bottom-color: #BDDB6D;

    }

    {#socialMediaWrapper}

    color: #FFF;

    Width: 86,45%;

    padding-left: 2,275%;

    padding-right: 2,275%;

    Clear: none;

    float: none;

    left margin: auto;

    padding-top: 2,275%;

    }

    {#footerBar}

    color: #FFF;

    background-color: #AAAAAA;

    min-height: 176px;

    background-image:-webkit-gradient (linear, 50.00% 0.00%, 50.00% 100.00%, color-stop (0%, rgba (153,153,153,1.00)), color-stop (100%, rgba (185,185,185,1.00)));

    background-image:-webkit-linear-gradient(270deg,rgba(153,153,153,1.00) 0%,rgba(185,185,185,1.00) 100%);

    background-image: linear-gradient (180deg, rgba (153,153,153,1.00) 0%,rgba(185,185,185,1.00) 100%);

    }

    {#footerWrapper}

    Width: 86,45%;

    padding-left: 2,275%;

    padding-right: 2,275%;

    Clear: none;

    float: none;

    left margin: auto;

    }

    IN THE MULTIMEDIA TABLET QUERY SECTION

    {.gridContainer}

    Width: 100%;

    padding-left: 0%;

    padding-right: 0%;

    Clear: none;

    float: none;

    left margin: auto;

    }

    {#div1}

    }

    {#headerBar}

    }

    {#headerWrapper}

    Width: 90.675%;

    padding-left: 1.1625%;

    padding-right: 1.1625%;

    Clear: none;

    float: none;

    left margin: auto;

    }

    {#menuAnimationBar}

    display: none;

    }

    {#contentBar}

    }

    {#contentWrapper}

    Width: 90.675%;

    padding-left: 1.1625%;

    padding-right: 1.1625%;

    Clear: none;

    float: none;

    left margin: auto;

    }

    {#socialMediaBar}

    }

    {#socialMediaWrapper}

    Width: 90.675%;

    padding-left: 1.1625%;

    padding-right: 1.1625%;

    Clear: none;

    float: none;

    left margin: auto;

    }

    {#footerBar}

    }

    {#footerWrapper}

    Width: 90.675%;

    padding-left: 1.1625%;

    padding-right: 1.1625%;

    Clear: none;

    float: none;

    left margin: auto;

    }

    {#menuAnimationWrapper}

    }

    IN THE PC MEDIA QUERY SECTION

    {.gridContainer}

    Width: 100%;

    Max-width: 1920px;

    padding-left: 0%;

    padding-right: 0%;

    margin: auto;

    Clear: none;

    float: none;

    left margin: auto;

    }

    {#headerBar}

    }

    {#headerWrapper}

    Width: 88.5%;

    Max-width: 1232px;

    padding-left: 0.75%;

    padding-right: 0.75%;

    margin: auto;

    Clear: none;

    float: none;

    left margin: auto;

    }

    {#menuAnimationBar}

    display: block;

    }

    {#contentBar}

    }

    {#contentWrapper}

    Width: 88.5%;

    Max-width: 1232px;

    padding-left: 0.75%;

    padding-right: 0.75%;

    margin: auto;

    Clear: none;

    float: none;

    left margin: auto;

    }

    {#socialMediaBar}

    }

    {#socialMediaWrapper}

    Width: 88.5%;

    Max-width: 1232px;

    padding-left: 0.75%;

    padding-right: 0.75%;

    margin: auto;

    Clear: none;

    float: none;

    left margin: auto;

    }

    {#footerBar}

    }

    {#footerWrapper}

    Width: 88.5%;

    Max-width: 1232px;

    padding-left: 0.75%;

    padding-right: 0.75%;

    margin: auto;

    Clear: none;

    float: none;

    left margin: auto;

    }

    {#menuAnimationWrapper}

    Width: 88.5%;

    height: 293px;

    Max-width: 1232px;

    padding-left: 0.75%;

    padding-right: 0.75%;

    margin: auto;

    Clear: none;

    float: none;

    left margin: auto;

    }

  • Checkerboard to fluid, I've hidden 2 < div > mobile layout. How do I find them?

    Checkerboard to fluid, I've hidden 2 < div > mobile layout. How do I find them?

    Hi howie.c.design,

    Just to clarify this point a bit more for you:

    (1) for the class trained elements (that is, you spent a class name while inserting)-> DW Adds a class like 'hide_tablet', 'hide_mobile' and 'hide_desktop' for each of the respective provision.

    for example:

    This is the content of the div layout "div".

    That is why by deleting just the same source code will make the visible element in the respective display.

    (2) for the ID-driven elements (that is to say you had a code name while inserting)-> DW sets the property to display for this selector in a particular window as none.

    IE as shown on the image of "sally_em" above #featurest a the display property set to none.

    This property of compensation will be show the item.

    We know it's good for the ideal workflow and we are working on the provision of an interface allowing to achieve the same through the user interface.

    It will be available soon.

  • Green highlight when you use fluid Grid Layout Div tags

    That the Green highlight means when working in Live view of a checkerboard mode fluid using fluid Grid Layout Div tags? Sometimes they appear, but sometimes they did not. I think it has something to do with the width setting but I can't understand what is the rule, or which indicates the high point.

    Dreamweaver CS6

    Mac OSX 10.8.2

    Thank you!!

    Brian McNay wrote:

    the Green highlight sometimes disappears when you change the width property of the div. My question is what this means?

    If you change the width of a div manually in Code view or in the Panel styles CSS, Dreamweaver continues to treat it as a fluid grid layout div, and green highlighting disappears.

    To be considered a div of fluid grid layout, the width should be adjusted by dragging the handles in Design view. Dreamweaver snaps divs fluid layout grid to the grid on which is defined when you create the page, and it calculates the width and margin the number of decimals. If the width or margin does not match the dimension of the grid, the highlighting disappears, and the div is treated as any other div.

    It is not a bug, nor is the divs to layout fluid grid different from normal ones. The idea of the grid and the highlight is to allow you to create a layout adapted to a hypothetical grid. Once you have created the basic structure, it is best to disable the Visual guides in any case.

    Personally, I think that the implementation of fluid layouts grid in Dreamweaver CS6 leaves much to be desired. The basic idea is good, but it is difficult to use if you don't have a solid knowledge of CSS.

  • Dreamweaver. Is it possible to have AP div tags in a fluid Grid Layout Div?

    I am putting together a site with a very basic page layout; some titles at the top, each placed in an AP Div, with images below.  But I would use the fluid Grid Layout Div so that the positioning of the change of flags AP div on mobile devices.

    I can't figure out how to do so that the AP div inside my fluid Grid Layout Divs tags

    Thank you

    1. forget the AP Div they are of very little use and can only be deployed in a sensitive site with care (and knowledge).

    2 forget the fluid grid layouts, they are not sufficiently stable.

    That being said, take a look at create a responsive Web design in Dreamweaver | Adobe Dreamweaver tutorials CC and Bootstrap 3 tutorial

  • fluid grid appears as his means to chrome and firefox, but in ie and safari the divs to display as a percentage of the entire screen, rather than as a percentage of the maximum width

    fluid grid appears as his means to chrome and firefox, but in ie and safari the divs to display as a percentage of the entire screen, rather than as a percentage of the maximum width

    I found the problem, thank you! nothing just a missing brace in the css that was causing the problem. the lines of code are numbered, and red when there is a problem (in cc at least 15). I could be the last to know that.

  • 100% width div inside the fluid grid

    Hi im trying to find the best way to use the transmission grid in Dreamweaver.

    One problem im having is if my fluid is width 90% how to make a DIV to work 100% in width but have the DIV stay nested in the grid?

    I installed the header and footer to run 100% outside the gate, but I now have a few DIVS that go through the page and I'm not sure how I can run 100% without changing the grid at 100% width.

    Any help would be greatly appreciated.

    Thank you

    Luke

    Screen Shot 2015-05-24 at 8.57.05 pm.png

    Fluid grids are not 100% width for a reason.  They are designed to be centered on the screen and you can not do it with 100% divs.

    I understand what you want - maybe as in this example of custom code:

    ALT - Web: Severed CSS Layout

    Due to some limitations, FGLayouts are not the best way to achieve this.

    If you want to give your FGLayout origins, you could get an acceptable effect with gradients of background CSS selector of your body that covers the entire page.

    {body

    background:-webkit-linear-gradient(white, maroon). / * For the Safari.

    background:-o-linear-gradient(white, maroon). / * Opera * /.

    background:-moz-linear-gradient(white, maroon). / * For Firefox * /.

    background: linear-gradient(white, maroon). / * W3C Standard * /.

    filter: progid:DXImageTransform.Microsoft.gradient (startColorstr = 'white', endColorstr = "Brown", GradientType = 0); / * IE6-9 * /.

    }

    Nancy O.

  • Hide / show the fluid grids on Dreamweaver CC 20141

    Hello!

    How can hide us the grid of fluid on 20141 version?

    Thank you very much!

    Hide how exactly?

    Do you mean to use FGLayouts in 20141 with Design view?

    Open your fluid Grid CSS file and add an X as shown below.  This trick DW into thinking that it is a normal page layout, so you can use the Design mode, spell checking, copy & paste text, etc...

    /*

    Properties Grid Dreamweaver fluid

    ----------------------------------

    DW-num-CLO-mobile: X 4;

    DW-num-CLO-Tablet: 8;

    DW-num-OCOL-Office: 12;

    DW-gutter-percentage: 25;

    =====================================

    Nancy O.

  • Why I'm not able to see the fluid Grid Layout Div tag

    Why can't I see no menu fluid Grid Layout Div in the Layout to insert tags

    DW CC changed signs.  If you work in FGLayouts, DW intuitively inserts the correct Div for you.

    Nancy O.

  • How to have more than one alignment inside the div fluid grid?

    My fluid grid div tag is defined for alignment to the left, but I want to center the last sentence. How?

    Sure.  Use a CSS class.

    . Center {text-align: center}

    HTML

    class = "center"> This is a centered paragraph.

    Nancy O.

  • layout and fluid grid div tags

    so now, I start my journey of learning the layout feature fluid grid dw6.  just started and have already fallen on a problem. When to create a div, I prefer to give them a width and height seems just to help put on the page, but in fgl when I put the value for these it just seem to ignore it, is this true?  If so, how does this work?

    Hello

    The idea of using a fluid grid presentation is that the size of the div elements will adjust themselves based on the width different screen sizes.

    It is difficult to say without seeing your design/layout that you work to say whether or not you should actually try to set the fixed width and height for your div elements fixed width setting is fine if you are designing a traditional presentation, fixed width, it can help you to read this article on the differences between fixed vs fluid layouts http://coding.smashingmagazine.com/2009/06/02/fixed-vs-fluid-vs-elastic-layout-whats-the-r ight-one-for-you /

    Since you mention that you are just starting to work with fluid grid, maybe check out Adobe TV can help you get started...

    Alassane http://TV.adobe.com/watch/Learn-Dreamweaver-CC/Create-Fluid-Responsive-Web-pages-in-dreamw.

    Good luck!

  • Missing divs fluid grid resize handles

    Hi, I followed the tutorials of page layout fluid grid step by step, but every time I insert a div tag (class: fluid) I don't get the sizing on the div. handles the div hover highlights in red, onclick the Red edge Gets a blue inner border. Resize it, duplicate, delete buttons, I can't create a layout. Any ideas?

    Win7 Home premium. Latest update of cloud creation.

    Thank you

    I have the SOLUTION!  Here is what happened...

    In the fluid - grid.css you created first...

    Find the class which is more you allows to have the handles (ie. the handles have disappeared from my .pageHeader class)

    Add width: 100%; on the inside of the hooks.

    {.pageHeader}

    Width: 100%

    }

    Save the file and go back to Design mode.  You have the rear handles!

Maybe you are looking for