Fluid grid layout tools disappear

After I create a new page and ad fluid divs the tools such as re-size, copy div and position disappear. Does anyone know how to make them show up again? I am using Dreamweaver CC. In design view the tools are replaced by a solid blue outline containing box.

Did you save & name your document yet?
In Split View, are all new divs inside <div class="gridContainer clearfix"> ?
Nancy O.

Similar Messages

  • How to edit fluid grid layout in Dreamweaver CS6

    Hi all
    I am a designer at the company I work for and we've been building repsonsive designs for the past 12months. I've decided that it would be good for me to try out the new fluid grid layout tool in Dreamweaver CS6 to see if we can improve the design process by using dreamweaver to allow us to quickly prototype my designs for mobile, tablet and desktop.
    However I have 2 problems so far.
    1) I've created my first fluid grid layout and saved all the files into a new folder. I set grid widths and gutter but now want to edit the values as I am not happy with the gutter. Can this be done? I can't seem to find the file that does this so can anyone point me in the right direction?
    2) We have traditionally used pixels to define our grids. I normally produce a grid with a fixed pixel gutter, overall width and column size. It seems that Dreamweaver only has the option to use percentages. Can anyone tell me if this can be changed and again where I can do this?
    Thanks for your  help
    Trevor

    In Code View, open your FluidGrid.css file (or whatever you named it) when you created the layout.
    FluidGrid Layouts are not perfect and the interface could use a lot of improvement.  That said, I think they can be used as a starting point for simple layout projects providing you understand their limitations and are willing to manually tweak the FluidGrid.css code.   
    If you've been doing Responsive Layouts for 12 months, you're probably building desktop to mobile whereas FluidGrids build from mobile to desktop.   It takes a little adjustment in thinking.
    Keep FluidGrid.css for layout only.  Use a seperate stylesheet for your content styles. 
    Nancy O.

  • Lost fluid grid layout

    I use dreamweaver cc
    I opened and created a page, that worked fine in fluid grid layout.
    I then quit out of dreamweaver, then came back to the same page later.
    Now when i open that page in dreamweaver cc, i no longer see it with the fluid grid layout or with the fluid grid handles on any of the divs.
    I also no longer have the little button in the toolbar next to live button either.... to toggle the fluid layout on and off.
    I did see one solution which says to go to view/ visual aids/ display fluid grid layouts
    but this does not seem to be available in dreamweaver cc... only dreamweaver cs6.
    I have the latest version of dreamweaver cc, and have set up the page correctly.
    Thanks in advance to anyone that takes the time to help.

    Hi Nancy,
    My operating system is Windows 7, run at our health corporation, (so I can't upgrade to Windows 8 or 8.1.)
    Im running Adobe Dreamweaver Creative Cloud built 6733 - the latest version as of today.
    The problem I have been experiencing match up with those of many other users over the last 2 years.  There's quite a few posts reporting the same type of thing that I am.  Basically it's to do with the Fluid layout controls and the icon on the toolbar that first appears once you've created a new webpage controlled by the fluid layout stylesheet.  These are first there, but after restarting DW they are gone.
    i.e.
    I create an HTML5 webpage saved as 'default.asp'  and a fluid grid stylesheet named fg-styles.css.
    The Fluid Grid layout controls are all there.  (I am doing nothing else, no injection of code nothing.)
    Then I close Dreamweaver
    On reopening of Dreamweaver and all files, when looking at the default.asp file in Design view, the fluid grid hide/show icon on the toolbar and the fluid grid controls when clicking inside the fluid div no longer show.
    I get this every single time, even after rebooting my computer.
    The controls also strangely disappear during a session when I am adding new blocks within the fluid grid panel.
    I am so close now from discontinuing using this tool and looking elsewhere for fluid grid solutions.
    It seems such a powerful tool, but what use is it if it is unstable.  Really, DW should not roll out such tools until they have been proven to work reliably.
    Also documentation should be provided that makes clear when this tool cannot be used reliably and workaround solutions.
    I have now spent a solid 10 hours on this, and created countless versions of the same page.
    Admittedly at one stage I discovered that when adding the classic ASP line above my HTML5 code that this would not work after Dreamweaver saved my document as an .asp file, but even .html files still experience all kinds of bugs with this tool.
    I hope this kinda explained what problems I am facing.
    Thanks again for your time.
    I will now move on to other fluid grid solutions, but am happy to re-look at the DW tool if there is a sure-fire way that fixes my problems.
    Andreas

  • How to setup a default direction for new divs in fluid grid layout in dreamweaver?

    Hi,
    how to setup a default direction for new divs in fluid grid layout in dreamweaver? I am an RTL interface user, I need my new divs to be inserted from right to left not Left to Right! could it be in dreamweaver?
    Thanks.

    This may get me into strife, but my experience is that you are better off finding another platform for your RWD.
    The framework that I tend to use is by Zub-Foundation http://foundation.zurb.com/.
    A commercial product that I have come to appreciate can be found here http://www.projectseven.com/products/tools/composer/index.htm. Please do not mention me if you happen to choose this product.

  • Fluid grid layouts do not work in IE 7/8

    Hello,
    I just created a simple fluid grid layout with Dreamweaver CS6, but there is a problem in Internet Explorer.
    IE 9 shows it right.
    When I start IE 9, I press F12 to get to the developer panel. When I switch to IE 7 / 8, the layout crashes. There are no background colors and text styles anymore.
    Later I will upload some screenshots.
    All other browser work fine.
    Where is the problem here?

    When I resize layout in Firefox, the background colors disappear in mobile portrait, mobile landscape, and tablet portrait.
    Reason:  You added styles to your FluidGrid Desktop  but not  mobile & tablet. 
    In order for FluidGridLayouts to work, you must build your mobile styles first because everything else is based on that.
    I find it's much safer to use a separate style sheet for content.  When you start adding stuff to FluidGridLayout.css, things can get screwed up in a hurry.
    CS6 Fluid Grid Layouts (6 min video)
    http://tv.adobe.com/watch/digital-design-cs6/creating-adaptive-designs-using-fluid-grid-la youts-in-dreamweaver-cs6/
    CS6 Fluid Grid layouts (17 min video)
    http://tv.adobe.com/watch/learn-dreamweaver-cs6/using-fluid-grid-layouts/
    Step-by-Step tutorial -- Building Fluid Grid Layouts in DW CS6
    http://www.adobe.com/inspire/2012/08/fluid-grid-layouts-dreamweaver-cs6.html
    Nancy O.

  • Fluid Grid Layout with Sidebar

    I am fairly new to dreamweaver and trying to build a fluid grid layout with a sidebar which needs to span the full height of the website and I am having trouble. I cant get the sidebar to span multiple columns using the fluid grids. I know I can do it with pure css using display options but wanted to know if. Can do it visually using dreamweaver's built in tools and UI.
    Can someone point out if I am going about this correctly? I can provide more info if needed.
    Thanks.

    I started using FGL when first introduced. In the meantime they have improved quite a bit, but I was so taken aback that I decided not to go down that path again.
    I have used Foundation and am now using Bootstrap. Although I would prefer to use the former as I think that it is better, the general trend is towards Bootstrap.
    You can start with the free of charge Bootstrap extension.

  • In Fluid Grid layout, I have hidden 2 div for mobile layout. How do I unhide them?

    In Fluid Grid layout, I have hidden 2 <div> for mobile layout. How do I unhide them?

    Hi there,
    I visited your site using Dreamweaver CC and tested it using the default Desktop, Tablet and Mobile sizes, followed by the Smart Phone Size.
    The CSS you currently have sets the featurest <div> to 'display: none' when viewed on screen sizes lower than 480px:
    Another helpful way to find out what is going on with your CSS is to test the site with Firefox using Web Developer Tools to inspect the element (or alternatively, Adobes Inspect tool). You can right-click the image and "Inspect Element" then resize the browser window so you can see exactly which CSS rule is being applied and overrided.
    My suggestion would be to add an additional media query in Dreamweaver to handle all screen sizes below 480px and then set divs or elements you want to hide or show display property to visible.
    Hope this helps!

  • Starter Templates for fluid grid layouts.

    Hello, I am watching the video (Learn Dw CC video by David Powers.)  In the video and in the version of Dw CC he is using there are 6 templates for a fluid grid layout but I see none in my version of Dreamweaver CC and I have the latest version? Maybe the ones I see in David Powers version are ones that he has purchased separately? Anyone know?
    For anyone reading this that is interested in Fluid Grid Layouts I would definitely consider purchasing the video as he does a first class job of teaching you.
    Thanks, Imelda.

    To open a starter page, go to File > New > Blank page > HTML > select a layout from 3rd panel . Hit Create.  AFAIK, there are no pre-built templates for FluidGrid Layouts.  You simply use the FGLayouts tool to build your own custom layout for mobile, tablet and desktop devices.
    Nancy O.

  • Adapt existing web site with fluid grid layout

    Hi everyone,
    I'm wondering if I could take a exisiting website and using Dreamweaver CS6 (which I don't owned at the moment) "easily" create associated fluid layout for tablets and smartphones.
    Or do I have to start a new website "from scratch" to get the fluid layout?
    I'm just beginning with website creation (only 2 at the moment) and I tried out  Dreamweaver 5.5 at the beginning of 2012... since I didn't find any other tools that could do the job like I feel Dreamweaver can, I'm in the process of convincing myself I should buy Dreamweaver CS6.... I won't hesitate much longer if I could take a existing website and be able to easily adapt it to fluid layout.
    Thanks for your help
    Sebastien

    You would have to start over with a whole new Layout.  Once you get that designed, then you would need to insert content.  There is no magic button for converting existing sites to Fluid Grid Layouts because it's more complicated (3 CSS layouts instead of one). 
    In addition, Fluid Grid is a new feature in CS6 that still needs some refinement.  In order to build responsive designs that work in all devices, you must understand the technology. 
    http://www.adobe.com/devnet/dreamweaver/articles/introducing-media-queries.html
    http://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsive-web-design/
    http://www.alistapart.com/articles/responsive-web-design/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Green highlight when working with Fluid Grid Layout Div tags

    What does the green highlight mean when working in Live view of a Fluid Grid Layout using Fluid Grid Layout Div Tags? Sometimes they show up, but sometimes they don't. I think it has something to do with the width setting but I can't figure out what the rule is or what the highlight indicates.
    Dreamweaver CS6
    Mac OSX 10.8.2
    THANK YOU!!

    Brian McNay wrote:
    the green highlight sometimes disappears when modifying the width property of the div. My question is what does this signify?
    If you change the width of a div manually in Code view or in the CSS styles panel, Dreamweaver ceases to treat it as a fluid grid layout div, and the green highlighting disappears.
    To be treated as a fluid grid layout div, the width must be adjusted by dragging the handles in Design view. Dreamweaver snaps fluid grid layout divs to the grid that is defined when you first create the page, and it calculates the width and margins to many decimal places. If the width and/or margin doesn't match the grid dimensions, the highlighting disappears, and the div is treated as any other div.
    It's not a bug, nor are fluid grid layout divs any different from normal ones. The idea of the grid and the highlighting is to allow you to create a responsive layout according to a hypothetical grid. Once you've created the basic structure, it's best to turn off the visual guides anyway.
    Personally, I think that the implementation of fluid grid layouts in Dreamweaver CS6 leaves a lot to be desired. The basic idea is good, but it's difficult to use if you don't have a solid understanding of CSS.

  • I am using Dreamweaver cc 2014 and after applying css styles to my fluid grid layout I lose the resize, delete, duplicate and move up/ down ability.

    I am using Dreamweaver cc 2014 and after applying css styles to my fluid grid layout I lose the resize,delete, duplicate an move up/ down ability.
    For this reason I cannot build new pages by copying one page to create another.
    I have a third style sheet that I use for the navigation styles  and h1 -h6 ect. tags. and I am also using a css drop menu, can one of these be the problem?
    The css menu I am using has the following script - I goes at the bottom of the html page. Before the closing body tag,
    <script>
    $(function () {
      $("#nav").tinyNav();
    </script>
    I am also using the following for image control - I place it towards the top of the fluid
    grid style sheet.
        box-sizing: border-box; /* Opera/IE 8+ */
        -moz-box-sizing: border-box; /* Firefox, other Gecko */
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    Can some one please help.

    I am using Dreamweaver cc 2014 and after applying css styles to my fluid grid layout I lose the resize,delete, duplicate an move up/ down ability.
    This implies there is something broken in your FluidGrid Layout CSS file.   It  could be something simple like a missing semi-colon or curly bracket.   Run your code through the W3C validation tools below to check for errors.  NOTE:  ignore reported errors in boilerplate.css
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Nancy O.

  • Trouble in Dreamweaver with fluid grid layouts

    Hi!  This is my first time posting here.  I have been having intermittent problems in the fluid grid layouts.  The sizing handles that are supposed to be there in a fluid element/div sometimes disappear along with the duplication icon and the arrow that moves a div/element up to the previous row.  For instance I am working on a lesson in my online class for Dreamweaver that is asking me to style an unordered list for a menu.  I want to make it into a horizontal menu where each item is 3 columns wide.  Without the handles I cannot size the items in the list nor "bump them up" next to each other.  Does this make any sense?  Sometimes, they are there and sometimes not.  Mostly not there.  This is very frustrating!  Can someone offer any solutions?
    Paula Jo Nyman

    I have the same Issue, I have been trying to get it resolved for a while now, but the live customer support is terrible, I feel like they don't read the initial question and it frustrates me how I am constantly asked questions about my question that is CLEARLY covered in the initial Question. I Have been on hold on the phone for some time now, if I get this resolved I will post an answer. It does disgust me how adobe are slowly parring the technical support over to its users.

  • Fluid Grid Layout CS6

    Hi Guys,
    First post here so I might be in the wrong place so please let me know if I am and point me to where I should be! Thanks.
    So I've been developing a new site using CS6 with the Fluid Grid Layout system, everything has been going great until all of a sudden the fluid grid system disappears, at first I thought I had disrupted the code too much with my custom CSS though I rolled back the file to a version that was working perfectly and yet the fluid grid system is still no where to be found. I guess I hit a hotkey that turns the function on and off though I cannot for the life of me find what it is. I've tried closing the file and opening again, shutting down dreamweaver completly and even restarting my pc with no effect.
    If anybody could help me with this issue I would be very grateful!
    Kind regards,
    Mitchell Ransom

    View > Visual Aids > Fluid Grid Layout Guides.
    Window > Multi-screen Preview.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Fluid Grid Layouts, Dealing with Z-Index

    Hi
    I'm currently designing a website that is using fluid grid layouts in order to make it responsive for the users of the website. I'm currently designing it with div's working from the top to the bottom. I currently have a header div, a menubar div, and a mainpicture div beneath that. I'm trying to make it so that the menu bar appears above the others two divs however. I have it so that there is a shadow around the menu bar div. It appears above the header div, but beneath the main picture div so it looks funny. I've tried making the z-index of the menubar div greater than that of the main picture div but that has lead to no positive results. Is there a way to make it so i can have a div appear above another one in fluid grid layouts?
    Jay Honnold
    HTML
    CSS
    <!doctype html>
    <!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
    <!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
    <!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
    <!--[if gt IE 8]><!-->
    <html class="">
    <!--<![endif]-->
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Untitled Document</title>
    <link href="boilerplate.css" rel="stylesheet" type="text/css">
    <link href="FluidLayout.css" rel="stylesheet" type="text/css">
    <!--
    To learn more about the conditional comments around the html tags at the top of the file:
    paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
    Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
    * insert the link to your js here
    * remove the link below to the html5shiv
    * add the "no-js" class to the html tags at the top
    * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
    -->
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="respond.min.js"></script>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="Header" class="shadowbox">
                <img src="My Website_files/flashwholesalerlogo.png" width="294px" height="42px" style="float: left; margin-top: 10px;">
        <p style="margin: 19px 5px 0px 0px; float: right; font-family: Arial; font-decoration: none; color: #616171; font-size: 24px;">800-969-2949</p>
        <img src="My Website_files/phonelogo.png" width="42px" height="42px" style="float: right; margin-top: 10px; margin-right: 10px">
      </div>
      <div id="MenuBar" class="shadowbox">
         <ul class="semiopaquemenu">
          <li><a href="./My Website.htm">Home</a></li>
          <li><a href="http://www.dynamicdrive.com/style/">Products</a></li>
          <li><a href="http://www.dynamicdrive.com/forums/">Services</a></li>
          <li><a href="http://tools.dynamicdrive.com">About Us</a></li>
          <li><a href="http://www.javascriptkit.com/">Customizing</a></li>
          <li><a href="http://www.cssdrive.com">Distributors</a></li>
        </ul>
      </div>
      <div id="ThreeReasonsContainer">
      <div id="ThreeReasons">
                <img src="My Website_files/badge.png">
      </div>
      <div id="ThreeReasons2">
      <img src="My Website_files/badge.png">
      </div>
      <div id="ThreeReasons3">
      <img src="My Website_files/badge.png">
      </div>
      </div>
    </div>
    </body>
    </html>
    @charset "utf-8";
    @import url("SemiopaquemenuFluid.css");
    /* Simple fluid media
       Note: Fluid media requires that you remove the media's height and width attributes from the HTML
       http://www.alistapart.com/articles/fluid-images/
    img, object, embed, video {
              max-width: 100%;
    /* IE 6 does not support max-width so default to width 100% */
    .ie6 img {
              width: 100%;
              Dreamweaver Fluid Grid Properties
              dw-num-cols-mobile:                    5;
              dw-num-cols-tablet:                    8;
              dw-num-cols-desktop:          12;
              dw-gutter-percentage:          15;
              Inspiration from "Responsive Web Design" by Ethan Marcotte
              http://www.alistapart.com/articles/responsive-web-design
              and Golden Grid System by Joni Korpi
              http://goldengridsystem.com/
    /* Mobile Layout: 480px and below. */
    .gridContainer {
              margin-left: auto;
              margin-right: auto;
              width: 88.626%;
              padding-left: 1.1869%;
              padding-right: 1.1869%;
    #LayoutDiv1 {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
    #Header {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
              height: 100px;
              /* IE10 Consumer Preview */
              background-image: -ms-linear-gradient(top, #FFFFFF 0%, #CAE4BF 100%);
              /* Mozilla Firefox */
              background-image: -moz-linear-gradient(top, #FFFFFF 0%, #CAE4BF 100%);
              /* Opera */
              background-image: -o-linear-gradient(top, #FFFFFF 0%, #CAE4BF 100%);
              /* Webkit (Safari/Chrome 10) */
              background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #CAE4BF));
              /* Webkit (Chrome 11+) */
              background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #CAE4BF 100%);
              /* W3C Markup, IE10 Release Preview */
              background-image: linear-gradient(to bottom, #FFFFFF 0%, #CAE4BF 100%);
    #MenuBar {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
    #MainImage {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
    #ThreeReasons {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
    #ThreeReasons2 {
              clear: none;
              float: left;
              margin-left: 2.6785%;
              width: 100%;
              display: block;
    #ThreeReasons3 {
              clear: none;
              float: left;
              margin-left: 2.6785%;
              width: 100%;
              display: block;
    #ThreeReasonsContainer {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
    /* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
    @media only screen and (min-width: 481px) {
    .gridContainer {
              width: 91.4836%;
              padding-left: 0.7581%;
              padding-right: 0.7581%;
    #LayoutDiv1 {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
    #Header {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
              height: 100px;
              /* IE10 Consumer Preview */
              background-image: -ms-linear-gradient(top, #FFFFFF 0%, #CAE4BF 100%);
              /* Mozilla Firefox */
              background-image: -moz-linear-gradient(top, #FFFFFF 0%, #CAE4BF 100%);
              /* Opera */
              background-image: -o-linear-gradient(top, #FFFFFF 0%, #CAE4BF 100%);
              /* Webkit (Safari/Chrome 10) */
              background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #CAE4BF));
              /* Webkit (Chrome 11+) */
              background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #CAE4BF 100%);
              /* W3C Markup, IE10 Release Preview */
              background-image: linear-gradient(to bottom, #FFFFFF 0%, #CAE4BF 100%);
    #MenuBar {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
    #MainImage {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
    #ThreeReasons {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
    #ThreeReasons2 {
              clear: none;
              float: left;
              margin-left: 1.6574%;
              width: 100%;
              display: block;
    #ThreeReasons3 {
              clear: none;
              float: left;
              margin-left: 1.6574%;
              width: 100%;
              display: block;
    #ThreeReasonsContainer {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
    /* Desktop Layout: 769px to a max of 1000px.  Inherits styles from: Mobile Layout and Tablet Layout. */
    @media only screen and (min-width: 769px) {
    .gridContainer {
              width: 89.0217%;
              max-width: 1000px;
              padding-left: 0.4891%;
              padding-right: 0.4891%;
              margin: auto;
    #Header {
              clear: both;
              float: left;
              margin-left: 0;
              width: 96%;
              margin: 0px 2% 0px 2%;
              display: block;
              height: 62px;
              /* IE10 Consumer Preview */
              background-image: -ms-linear-gradient(top, #FFFFFF 0%, #CAE4BF 100%);
              /* Mozilla Firefox */
              background-image: -moz-linear-gradient(top, #FFFFFF 0%, #CAE4BF 100%);
              /* Opera */
              background-image: -o-linear-gradient(top, #FFFFFF 0%, #CAE4BF 100%);
              /* Webkit (Safari/Chrome 10) */
              background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #CAE4BF));
              /* Webkit (Chrome 11+) */
              background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #CAE4BF 100%);
              /* W3C Markup, IE10 Release Preview */
              background-image: linear-gradient(to bottom, #FFFFFF 0%, #CAE4BF 100%);
    #MenuBar {
              clear: both;
              float: left;
              margin-left: 0;
              height: 63px;
              width: 100%;
              display: block;
              /* IE10 Consumer Preview */
              background-image: -ms-linear-gradient(top, #87C872 0%, #72B35A 100%);
              /* Mozilla Firefox */
              background-image: -moz-linear-gradient(top, #87C872 0%, #72B35A 100%);
              /* Opera */
              background-image: -o-linear-gradient(top, #87C872 0%, #72B35A 100%);
              /* Webkit (Safari/Chrome 10) */
              background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #87C872), color-stop(1, #72B35A));
              /* Webkit (Chrome 11+) */
              background-image: -webkit-linear-gradient(top, #87C872 0%, #72B35A 100%);
              /* W3C Markup, IE10 Release Preview */
              background-image: linear-gradient(to bottom, #87C872 0%, #72B35A 100%);
              z-index: 3;
    #MainImage {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
    #ThreeReasons {
              clear: both;
              float: left;
              margin-left: 0;
              width: 29.3%;
              display: block;
              margin: 0px 2% 0px 2%;
    #ThreeReasons2 {
              clear: none;
              float: left;
              margin-left: 1.0989%;
              width: 100%;
              width: 29.3%;
              display: block;
              margin: 0px 2% 0px 2%;
    #ThreeReasons3 {
              clear: none;
              float: left;
              margin-left: 1.0989%;
              width: 100%;
              width: 29.3%;
              display: block;
              margin: 0px 2% 0px 2%;
    #ThreeReasonsContainer {
              clear: both;
              float: left;
              margin-left: 0;
              width: 96%;
              display: block;
              margin: 0px 2% 0px 2%;
              padding: 10px 0px 10px 0px;
              /* IE10 Consumer Preview */
              background-image: -ms-linear-gradient(top, #CAE4BF 0%, #FFFFFF 100%);
              /* Mozilla Firefox */
              background-image: -moz-linear-gradient(top, #CAE4BF 0%, #FFFFFF 100%);
              /* Opera */
              background-image: -o-linear-gradient(top, #CAE4BF 0%, #FFFFFF 100%);
              /* Webkit (Safari/Chrome 10) */
              background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #CAE4BF), color-stop(1, #FFFFFF));
              /* Webkit (Chrome 11+) */
              background-image: -webkit-linear-gradient(top, #CAE4BF 0%, #FFFFFF 100%);
              /* W3C Markup, IE10 Release Preview */
              background-image: linear-gradient(to bottom, #CAE4BF 0%, #FFFFFF 100%);
              z-index: 2;
    Picture:

    Try
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
    body {
        width: 1000px;
        margin: auto;
        background: #616161;
    .header {
        height: 70px;
        width: 900px;
        margin: auto;
        background: #D3E8CA;
    .nav {
        height: 90px;
        background: #7CBD66;
      -moz-box-shadow:    0px 0px 5px 3px #333;
      -webkit-box-shadow: 0px 0px 5px 3px #333;
      box-shadow:         0px 0px 5px 3px #333;
        position: relative;
        z-index: 99;
    .content {
        height: 70px;
        width: 900px;
        margin: auto;
        background: #D3E8CA;
    </style>
    </head>
    <body>
    <div class="header"></div>
    <div class="nav"></div>
    <div class="content"></div>
    </body>
    </html>

  • How do I get my Fluid Grid Layout page to resizes from portrait to landscape for iPhones?

    Starting in portrait on my iPhone 4, the fluid grid layout page does not resize when I turn to landscape.  After I refresh / resize to fit the page on landscape and then turn the iPhone to portrait, the page resizes just fine.  Everything seems to be working just fine on the desktop, ignoring IE.  Could it be my media query tags?
    If anyone knows a solution, it would be much appreciated.  Thanks.
    Here is my test page: http://www.bedroomandmore.com/1_b_fluidGrid.html
    Here are my media query tags (the first set of rules does not have the media query tag and becomes the default):
    @media only screen and (max-device-width: 480px) and (orientation : landscape) {
    @media only screen and (min-width: 481px) {
    @media only screen and (min-width: 769px) {
    Here is most of my media query CSS:
    @charset "UTF-8";
    /* Simple fluid media
       Note: Fluid media requires that you remove the media's height and width attributes from the HTML
       http://www.alistapart.com/articles/fluid-images/
    img, object, embed, video {
              max-width: 100%;
    /* IE 6 does not support max-width so default to width 100% */
    .ie6 img {
              width:100%;
    /* Mobile Layout: 480px and below.(smartphone portrait) */
    .gridContainer {
              width: 95.4184%;
              padding-left: 0.5907%;
              padding-right: 0.5907%;
    #header {
              clear: both;
              float: left;
              display: block;
              margin-left: 0%;
              width: 72%;
              max-height: 0%;
              display: -moz-box; /* Firefox */
              display: -webkit-box; /* Safari and Chrome */
              display: box;
              border: none;
              top: auto;
              padding-top: 0.25em;
    #menuHorizontal {
              clear: both;
              float: left;
              width: 118%;
              height:100%;
              margin-left: auto;
              position:relative;
              top:-1em;
              display: block;
    #slides {
              clear: both;
              float: left;
              margin-left: 0.1em;
              width: 119%;
              position: relative;
              top: -1em;
              display: block;
                        /*Slides container: Important: Use position:relative; with top:-1em; together to position div.
                                  Set the width of your slides container
                                  Set to    display: none     to prevent content flash*/
    .slides_container {
              clear: both;
              width: 100%;
              display: block;
                        /*Each slide: Important:
                                  Set the width of your slides
                                  If height not specified height will be set by the slide content
                                  Set to     display: block     for original setting
                                  slide_container is container size
                                  slides_container div set the size of the image inside--adjust to fit image in it so it is not cropped*/
    .slides_container div {
              clear: both;
              width: 69%;
              display: block;
              /* Mobile Layout: 480px. (smartphone landscape)
                                  Inherits styles from Mobile Layout 480px.
                                  Set to clear:none; to allow div to shift up
                                  Or set to clear:both; to take a whole row of the screen*/
    @media only screen and (max-device-width: 480px) and (orientation : landscape) {
    .gridContainer {
              width: 95.4184%;
              padding-left: 0.7907%;
              padding-right: 0.7907%;
    #header {
              clear:both;
              float: left;
              display: block;
              margin-left: auto;
              width:100%;
              display: -moz-box; /* Firefox */
              display: -webkit-box; /* Safari and Chrome */
              display: box;
              border: none;
    #menuHorizontal {
              clear:both;
              float: left;
              width: 110%;
              margin-left:auto;
              display: block;
    #slides {
              clear:both;
              float: left;
              margin-left: 0%;
              width: 68%;
              display: block;
                        /*Slides container: Important:
                                  Set the width of your slides container
                                  Set to    display: none     to prevent content flash*/
    .slides_container {
              clear:both;
              float: left;
              width: 100%;
              display: block;
                        /*Each slide: Important:
                                  Set the width of your slides
                                  If height not specified height will be set by the slide content
                                  Set to     display: block     for original setting*/
    .slides_container div {
              clear:both;
              width:69%;
              display: block;
                        /* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout.
                                  Set to clear:none; to allow div to shift up
                                  Or set to clear:both; to take a whole row of the screen*/
    @media only screen and (min-width: 481px) {
    .gridContainer {
              width: 95.9456%;
              padding-left: 0.5271%;
              padding-right: 0.5271%;
    #header {
              clear:both;
              float: left;
              display: block;
              margin-left: auto;
              width: 100%;
              display: -moz-box; /* Firefox */
              display: -webkit-box; /* Safari and Chrome */
              display: box;
              border: none;
    #menuHorizontal {
              clear:both;
              float: left;
              margin-left:auto;
              display: block;
    #slides {
              clear:both;
              float: left;
              margin-left: 0%;
              width: 70%;
              display: block;
                        /*Slides container: Important:
                                  Set the width of your slides container
                                  Set to    display: none     to prevent content flash*/
    .slides_container {
              clear:both;
              float: left;
              width: 100%;
              display: block;
                        /*Each slide: Important:
                                  Set the width of your slides
                                  If height not specified height will be set by the slide content
                                  Set to     display: block     for original setting*/
    .slides_container div {
              width: 100%;
              display: block;

    I found the problem.  There is a bug in Safari for iPhone 4.  Use code to fix found at http://stackoverflow.com/a/6379407

Maybe you are looking for