Text size fluid grid layout

I am using Dreamweaver cs6 fluid grid layout.  Is there a way to change the text size for the different layouts?  For example I would like the header text to be 16px on the desktop but only 12px on the mobile.
Thank you!

This makes sense although I have not been about to make it work.  Should each of these be inserted into the corresonding device section of the css?  Thank you for your help!
/* Mobile Layout: 480px and below. */
/*Special Rules for Mobiles*/
@media only screen and (max-width: 480px) {
          body {font-size: 75%}
.gridContainer {
          margin-left: auto;
          margin-right: auto;
          width: 88.626%;
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
/*Special Rules for Tablets*/
@media only screen and (min-width: 481px) {
          body{font size: 100%;}
@media only screen and (min-width: 481px) {
.gridContainer {
          width: 91.4836%;
          padding-left: 0.7581%;
          padding-right: 0.7581%;

Similar Messages

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

    Hi,
    how to setup a default size for a new divs in fluid grid layout in dreamweaver? I don't need the default size for new divs as a 100% width, I need them 13.69% as a one coulmn width only (7 coulmns fluid grids layout for desktop size 1000w).
    This problem I've faced when I intended to insert dozens of fluid grid divs in the layout.

    Sorry, I don't believe that you have had a good look at the Foundation framework. I'll now hold your hand while we go through the basics.
    Here is the specific page http://foundation.zurb.com/docs/components/grid.html
    The default values are
    Em-base : 16px
    Row width: 62.5em (62.5em x 16px = 1000px)
    Columns per row: 12
    These and other default values can be changed. The fact of the matter is that if you stipulate a section width of 2 or 3 or 12 columns, the widths will automatically be calculated for you.
    In your case, if you want 7 columns, all you need to do is change the number of columns per row and the rest is done for you.

  • Fluid Grid Layout - IE Issue with Image Size

    Hi,
    I've been working on a new website using the CS6 Fluid Grid Layout. My site is working correctly in Chrome and Firefox but in Internet Explorer 9 and 10, and most likely all other versions, the images that resize normall in Chrome and Firefox stay at maximum size in Internet Explorer. Please could somebody take a look at my site and see where I have gone wrong in the code as I can't find the problem anywhere.
    www.moleseyhire.com/index2.html
    Kind regards,
    Mitchell Ransom

    You could set the <divs> up like:
    <div id="special_1"><img src="http://www.moleseyhire.com/images/offer-1.png" alt="33% Off Shampoo"></div>
      <div id="special_2"><img src="http://www.moleseyhire.com/images/offer-2.png" alt="Multi Hire"></div>
        <div id="special_3"><img src="http://www.moleseyhire.com/images/offer-3.png" alt="Multi Buy"></div>
        <div id="special_4"><img src="http://www.moleseyhire.com/images/offer-4.png" alt="10% Off Tile Cutter Accessories"></div>
    Then add
    #special_1, #special_2, #special_3, #special_4 {
        width: 24%;
        float: left;
        margin-right: 1%;
    To the following media queries:
    @media only screen and (min-width: 769px) and @media only screen and (min-width: 481px)
    and:
    #special_1, #special_2, #special_3, #special_4 {
        width: 49%;
        float: left;
        margin-right: 1%;
    to the following media query:
    /* Mobile Layout: 480px and below. */

  • DW CC Fluid grid layout how to change px width for desktop layout

    Hi there,
    I have been going through the various tutorials about fluid grid layout and setting up our bureau's website in a responsive layout.
    The width of the original design was 960 px and the hero pic and others have been exported at that size.
    The first divs in the design look fine, header with the 960 px pic in it, and also the BC menu which is set to 960 wide.
    However the body text goes out to the right, past the 960 px and this is because, right at the start, when starting the file in DW the desktop screen width is set to 1232px.
    How can you change this setting when starting a new fluid grid layout?
    I have tried changing the number of columns, or the percentage, and the width for desktop remains at 1232px.
    Why is this?
    Not all of our clients want a site 1232px wide on a pc.
    Thanks so much.

    Hi Ben and Nancy,
    Thanks for your replies, but maybe you both don't realise I am asking specifically about DW CC and setting up a responsive design using a fluid grid layout?
    I have been following the recent videos from Adobe on this.
    As far as the width of 960 goes, Nancy I am only shortchanging myself, as this is the website for our agency. The original design is 960px wide as I did read somewhere that this width is recommended now that responsive is coming, as it is easily divided into a grid layout. I also am quoting for a client at the moment who wants a responsive design for their website, and they have specifically requested that the site have a maximum width of 960 px. So I would like to find out if this is possible in DW CC at the moment when doing a fluid grid layout.
    So what I am trying to do here is follow the Adobe tutorials on responsive design, using DW CC and I am using the current design for our agency website as a trial to set this up and try and get it working as a responsive website.
    It does not seem to me that many other people are doing this, as most people are recommending that I try Github or Bootstrap.
    However, I am not a coder and I am used to using DW, so I would like to get the DW CC responsive design features working if possible.
    Ben the CSS you are looking at is being generated by DW CC as I follow the steps in the Adobe demonstration videos to set up a fluid grid layout in DW CC.
    One of the things they say in the videos is that you can't program the CSS directly when doing a fluid grid layout, or you break the CSS and it all stops working. So I am using the new panels in DW CC to set up the layout. One thing I cannot get access to is the ability to set a maximum width for the site. It seems to be set in concrete when you start the fluid design up in DW CC.
    Here is a pic of the screen I am talking about that sets the maximum width:
    I cannot click in the pixel width at the top and change it. Also if I adjust the number of gridlines or the percentage for the pc layout, the default maximum pixel width does not change.
    If you click on the preferences button and go into the Window sizes screen, there does not seem to be a way to set the maximum pc width here either, so I am a bit stumped.
    Maybe I just have say to my clients that if you want a responsive design then the max width for pc can only be 1232px? It does seem strange to me that this cannot be changed.

  • CSS height property use in Fluid grid layout

    Hi, I'm totally new to fluid grid layout and just got started in it. I have a div tag that has 5px height and I sucessfully applied that and seem fine only on Tablet landscape (1024x768) and Small tablet landscape (800x600), nevertheless it isn't even displaying on Mobile portrait (320x480), Mobile landscape (480x320), Small tablet portrait (600x800) and Tablet portrait (768x1024).
    My coding is below
    index.html
    <!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="fluid.grid.layout/boilerplate.css" rel="stylesheet" type="text/css">
    <link href="fluid.grid.layout/style.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="fluid.grid.layout/respond.min.js"></script>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="LayoutDiv1"></div>
    </div>
    </body>
    </html>
    boilerplate.css
    @charset "utf-8";
    * HTML5 ✰ Boilerplate
    * What follows is the result of much research on cross-browser styling.
    * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
    * Kroc Camen, and the H5BP dev community and team.
    * Detailed information about this CSS: h5bp.com/css
    * Dreamweaver modifications:
    * 1. Commented out selection highlight
    * 2. Removed media queries section (we add our own in a separate file)
    * ==|== normalize ==========================================================
    /* =============================================================================
       HTML5 display definitions
       ========================================================================== */
    article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
    audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
    audio:not([controls]) { display: none; }
    [hidden] { display: none; }
    /* =============================================================================
       Base
       ========================================================================== */
    * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
    * 2. Force vertical scrollbar in non-IE
    * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
    html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
    body { margin: 0; font-size: 13px; line-height: 1.231; }
    body, button, input, select, textarea { font-family: sans-serif; color: #222; }
    * Remove text-shadow in selection highlight: h5bp.com/i
    * These selection declarations have to be separate
    * Also: hot pink! (or customize the background color to match your design)
    /* Dreamweaver: uncomment these if you do want to customize the selection highlight
    *::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
    *::selection { background: #fe57a1; color: #fff; text-shadow: none; }
    /* =============================================================================
       Links
       ========================================================================== */
    a { color: #00e; }
    a:visited { color: #551a8b; }
    a:hover { color: #06e; }
    a:focus { outline: thin dotted; }
    /* Improve readability when focused and hovered in all browsers: h5bp.com/h */
    a:hover, a:active { outline: 0; }
    /* =============================================================================
       Typography
       ========================================================================== */
    abbr[title] { border-bottom: 1px dotted; }
    b, strong { font-weight: bold; }
    blockquote { margin: 1em 40px; }
    dfn { font-style: italic; }
    hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
    ins { background: #ff9; color: #000; text-decoration: none; }
    mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
    /* Redeclare monospace font family: h5bp.com/j */
    pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
    /* Improve readability of pre-formatted text in all browsers */
    pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
    q { quotes: none; }
    q:before, q:after { content: ""; content: none; }
    small { font-size: 85%; }
    /* Position subscript and superscript content without affecting line-height: h5bp.com/k */
    sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
    sup { top: -0.5em; }
    sub { bottom: -0.25em; }
    /* =============================================================================
       Lists
       ========================================================================== */
    ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
    dd { margin: 0 0 0 40px; }
    nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
    /* =============================================================================
       Embedded content
       ========================================================================== */
    * 1. Improve image quality when scaled in IE7: h5bp.com/d
    * 2. Remove the gap between images and borders on image containers: h5bp.com/e
    img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
    * Correct overflow not hidden in IE9
    svg:not(:root) { overflow: hidden; }
    /* =============================================================================
       Figures
       ========================================================================== */
    figure { margin: 0; }
    /* =============================================================================
       Forms
       ========================================================================== */
    form { margin: 0; }
    fieldset { border: 0; margin: 0; padding: 0; }
    /* Indicate that 'label' will shift focus to the associated form element */
    label { cursor: pointer; }
    * 1. Correct color not inheriting in IE6/7/8/9
    * 2. Correct alignment displayed oddly in IE6/7
    legend { border: 0; *margin-left: -7px; padding: 0; }
    * 1. Correct font-size not inheriting in all browsers
    * 2. Remove margins in FF3/4 S5 Chrome
    * 3. Define consistent vertical alignment display in all browsers
    button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
    * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
    * 2. Correct inner spacing displayed oddly in IE6/7
    button, input { line-height: normal; *overflow: visible; }
    * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
    table button, table input { *overflow: auto; }
    * 1. Display hand cursor for clickable form elements
    * 2. Allow styling of clickable form elements in iOS
    button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
    * Consistent box sizing and appearance
    input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
    input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
    input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
    * Remove inner padding and border in FF3/4: h5bp.com/l
    button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
    * 1. Remove default vertical scrollbar in IE6/7/8/9
    * 2. Allow only vertical resizing
    textarea { overflow: auto; vertical-align: top; resize: vertical; }
    /* Colors for form validity */
    input:valid, textarea:valid {  }
    input:invalid, textarea:invalid { background-color: #f0dddd; }
    /* =============================================================================
       Tables
       ========================================================================== */
    table { border-collapse: collapse; border-spacing: 0; }
    td { vertical-align: top; }
    /* ==|== primary styles =====================================================
       Author:
       ========================================================================== */
    /* ==|== non-semantic helper classes ========================================
       Please define your styles before this section.
       ========================================================================== */
    /* For image replacement */
    .ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
    .ir br { display: none; }
    /* Hide from both screenreaders and browsers: h5bp.com/u */
    .hidden { display: none !important; visibility: hidden; }
    /* Hide only visually, but have it available for screenreaders: h5bp.com/v */
    .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
    /* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
    .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
    /* Hide visually and from screenreaders, but maintain layout */
    .invisible { visibility: hidden; }
    /* Contain floats: h5bp.com/q */
    .clearfix:before, .clearfix:after { content: ""; display: table; }
    .clearfix:after { clear: both; }
    .clearfix { zoom: 1; }
    /* ==|== print styles =======================================================
       Print styles.
       Inlined to avoid required HTTP connection: h5bp.com/r
       ========================================================================== */
    @media print {
      * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
      a, a:visited { text-decoration: underline; }
      a[href]:after { content: " (" attr(href) ")"; }
      abbr[title]:after { content: " (" attr(title) ")"; }
      .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
      pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
      thead { display: table-header-group; } /* h5bp.com/t */
      tr, img { page-break-inside: avoid; }
      img { max-width: 100% !important; }
      @page { margin: 0.5cm; }
      p, h2, h3 { orphans: 3; widows: 3; }
      h2, h3 { page-break-after: avoid; }
    style.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%;
              Dreamweaver Fluid Grid Properties
              dw-num-cols-mobile:                    4;
              dw-num-cols-tablet:                    8;
              dw-num-cols-desktop:          10;
              dw-gutter-percentage:          25;
              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: 85.5%;
              padding-left: 2.25%;
              padding-right: 2.25%;
    #LayoutDiv1 {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              height:5px;
              display: block;
    /* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
    @media only screen and (min-width: 481px) {
    .gridContainer {
              width: 97.5%;
              padding-left: 1.25%;
              padding-right: 1.25%;
    #LayoutDiv1 {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              height:5px;
              display: block;
    /* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */
    @media only screen and (min-width: 769px) {
    .gridContainer {
              width: 98%;
              max-width: 1232px;
              padding-left: 1%;
              padding-right: 1%;
              margin: auto;
    #LayoutDiv1 {
              clear: both;
              float: left;
              margin-left: 0;
              width: 100%;
              display: block;
              height:5px;
              background-color:#FBB829;
    respond.min.js
    /*! Respond.js v1.0.1pre: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs  */
    (function(e,h){e.respond={};respond.update=function(){};respond.mediaQueriesSupported=h;if(h){return}var u=e.document,r=u.documentElement,i=[],k=[],p=[],o={},g=30,f=u.getElementsByTagName("head")[0]||r,b=f.getElementsByTagName("link"),d=[],a=function(){var B=b,w=B.length,z=0,y,x,A,v;for(;z<w;z++){y=B[z],x=y.href,A=y.media,v=y.rel&&y.rel.toLowerCase()==="stylesheet";if(!!x&&v&&!o[x]){if(y.styleSheet&&y.styleSheet.rawCssText){m(y.styleSheet.rawCssText,x,A);o[x]=true}else{if(!/^([a-zA-Z]+?:(\/\/)?)/.test(x)||x.replace(RegExp.$1,"").split("/")[0]===e.location.host){d.push({href:x,media:A})}}}}t()},t=function(){if(d.length){var v=d.shift();n(v.href,function(w){m(w,v.href,v.media);o[v.href]=true;t()})}},m=function(G,v,x){var E=G.match(/@media[^\{]+\{([^\{\}]+\{[^\}\{]+\})+/gi),H=E&&E.length||0,v=v.substring(0,v.lastIndexOf("/")),w=function(I){return I.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+v+"$2$3")},y=!H&&x,B=0,A,C,D,z,F;if(v.length){v+="/"}if(y){H=1}for(;B<H;B++){A=0;if(y){C=x;k.push(w(G))}else{C=E[B].match(/@media ([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1;k.push(RegExp.$2&&w(RegExp.$2))}z=C.split(",");F=z.length;for(;A<F;A++){D=z[A];i.push({media:D.match(/(only\s+)?([a-zA-Z]+)(\sand)?/)&&RegExp.$2,rules:k.length-1,minw:D.match(/\(min\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1),maxw:D.match(/\(max\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1)})}}j()},l,q,j=function(E){var v="clientWidth",x=r[v],D=u.compatMode==="CSS1Compat"&&x||u.body[v]||x,z={},C=u.createDocumentFragment(),B=b[b.length-1],w=(new Date()).getTime();if(E&&l&&w-l<g){clearTimeout(q);q=setTimeout(j,g);return}else{l=w}for(var y in i){var F=i[y];if(!F.minw&&!F.maxw||(!F.minw||F.minw&&D>=F.minw)&&(!F.maxw||F.maxw&&D<=F.maxw)){if(!z[F.media]){z[F.media]=[]}z[F.media].push(k[F.rules])}}for(var y in p){if(p[y]&&p[y].parentNode===f){f.removeChild(p[y])}}for(var y in z){var G=u.createElement("style"),A=z[y].join("\n");G.type="text/css";G.media=y;if(G.styleSheet){G.styleSheet.cssText=A}else{G.appendChild(u.createTextNode(A))}C.appendChild(G);p.push(G)}f.insertBefore(C,B.nextSibling)},n=function(v,x){var w=c();if(!w){return}w.open("GET",v,true);w.onreadystatechange=function(){if(w.readyState!=4||w.status!=200&&w.status!=304){return}x(w.responseText)};if(w.readyState==4){return}w.send(null)},c=(function(){var v=false;try{v=new XMLHttpRequest()}catch(w){v=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return v}})();a();respond.update=a;function s(){j(true)}if(e.addEventListener){e.addEventListener("resize",s,false)}else{if(e.attachEvent){e.attachEvent("onresize",s)}}})(this,(function(f){if(f.matchMedia){return true}var e,i=document,c=i.documentElement,g=c.firstElementChild||c.firstChild,h=!i.body,d=i.body||i.createElement("body"),b=i.createElement("div"),a="only all";b.id="mq-test-1";b.style.cssText="position:absolute;top:-99em";d.appendChild(b);b.innerHTML='_<style media="'+a+'"> #mq-test-1 { width: 9px; }</style>';if(h){c.insertBefore(d,g)}b.removeChild(b.firstChild);e=b.offsetWidth==9;if(h){c.removeChild(d)}else{d.removeChild(b)}return e})(this));
    I really do appreciate your efforts to help me solve this problem... Thank you in advance

    Height is determined by content.  I can't think of a single reason to have a div height of 5px because almost nothing will fit inside that small a space without problems. 
    As to why it doesn't show up in other devices, you must have put that style into the Tablet CSS code instead of the default Mobile CSS code.
    Fluid Grids build up from Mobile (applied to everything) with specific rules for Tablets, then Desktops.
    Best advice, use Fluid Grids for layout only.  Use a separate CSS file for content styles.
    Hope this helps,
    Nancy O.

  • Fluid Grid Layout Alignment Issue

    I'm using Dreamweaver CC Fluid Grid Layout. This is my first time using Dreamweaver, (and first time posting to Adobe Community) so I don't have a ton of experience. Somehow, the whole body of all my pages has been aligned left and I can't find anywhere in the CSS or the HTML of the individual pages that would make it do so.  I even tried inserting a body: align: center in the CSS and also in the HTML of each page and it just won't respond. Does anyone have any ideas? I'd really REALLY appeciate some help with this because I'm totally at a loss. Below is my CSS and the HTML for my index.html .
    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%;
              Dreamweaver Fluid Grid Properties
              dw-num-cols-mobile:                    4;
              dw-num-cols-tablet:                    8;
              dw-num-cols-desktop:          12;
              dw-gutter-percentage:          25;
              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/
    .fluid {
              clear: both;
              margin-left: 0;
              width: 100%;
              display: block;
              color: #FFFFFF;
              font-family: source-sans-pro;
              font-style: normal;
              font-weight: 200;
              float: left;
    .fluidList {
        list-style:none;
        list-style-image:none;
        margin:0;
        padding:0;       
    /* Mobile Layout: 480px and below. */
    .gridContainer {
              margin-left: auto;
              margin-right: auto;
              width: 86.45%;
              padding-left: 2.275%;
              padding-right: 2.275%;
              clear: none;
              float: none;
    body {align-content:center}
    #top {
              margin-left: auto;
              margin-right: auto;
              text-align: center;
              font-family: source-sans-pro;
              font-style: normal;
              font-weight: 600;
    #top {
              background-color: #1f1f1f;
    #mainnav {
              background-color:#1F1F1F
    #menuSystem {
    .menuItem {
              margin-top: 9px;
              margin-bottom: 2px;
              padding-top: 2px;
              padding-bottom: 2px;
              text-align: center;
              color: #FFFFFF;
              background-color: #1f1f1f;
              width: 100%;
              clear: both;
              margin-left: 0;
              padding-left: 0px;
              -webkit-box-sizing: content-box;
              -moz-box-sizing: content-box;
              box-sizing: content-box;
              letter-spacing: 2pt;
              text-transform: uppercase;
    .gridContainer.clearfix #top h1 {
              color: #FFFFFF;
              font-family: fredericka-the-great;
              font-style: normal;
              font-weight: 400;
              text-align: center;
              text-transform: uppercase;
              letter-spacing: 5pt;
    #hero {
    h2 {
              font-family: source-sans-pro;
              font-style: normal;
              font-weight: 200;
              text-align: center;
              margin-right: 0%;
              margin-top: 10%;
              text-decoration: overline;
              color: #FFFFFF;
    #footer {
              background-color: #1F1F1F;
              color: #FFFFFF;
              text-align: left;
    #wrapper {
              background-color: #2D2D2D;
              font-family: source-sans-pro;
              position: static;
              display: inline;
    #childpageimage {
              width: 59%;
              padding-top: 0px;
              padding-bottom: 0px;
              padding-right: 2px;
    #content2 {
              color: #FFFFFF;
              font-family: source-sans-pro;
              font-style: normal;
              font-weight: 400;
              text-align: left;
              text-indent: 0px;
              padding-left: 10px;
              padding-right: 10px;
              width: 100%;
              clear: both;
              margin-left: 0;
              float: left;
    contentgallery {
              color:#FFFFFF;
    table {
              color: #FFFFFF;
              font-family:source-sans-pro;
    #childpageimage2 img {
              width: 50%;
              float: left;
              top: 0px;
              padding-top: 5px;
    #content3 {
              color: #FFFFFF;
              font-family: source-sans-pro;
              font-style: normal;
              font-weight: 200;
              text-align: left;
              padding-left: 10px;
              padding-right: 10px;
    #contact {
              width: 100%;
              clear: both;
              margin-left: 0;
              float: right;
    #contenttitle {
              width: 100%;
              color: #FFFFFF;
              text-decoration: overline;
    body {align-content:center}
    #content {
              width: 100%;
              clear: both;
              margin-left: 0;
              color: #FFFFFF;
              font-family: source-sans-pro;
              font-style: normal;
              font-weight: 200;
    .zeroMargin_mobile {
    margin-left: 0;
    .hide_mobile {
    display: none;
    /* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
    @media only screen and (min-width: 481px) {
    .gridContainer {
              width: 90.675%;
              padding-left: 1.1625%;
              padding-right: 1.1625%;
              clear: none;
              float: none;
              margin-left: auto;
    a {
              color:#FFFFFF;
              text-decoration:none;
    a:hover {color:#843F93;
    #top {
    #mainnav {
    #menuSystem {
    .menuItem {
    width: 23.0769%;
    clear: none;
    margin-left: 2.5641%;
    #hero {
    #footer {
    #wrapper {
    position: static;
    #childpageimage {
    width: 100%;
    #content2 {
    width: 100%;
    clear: both;
    margin-left: 0;
    #content3 {
    #contact {
              width: 10.2564%;
              clear: both;
              margin-left: 0;
    #contenttitle {
    width: 100%;
    #content {
    width: 100%;
    clear: both;
    margin-left: 0;
    .hide_tablet {
    display: none;
    .zeroMargin_tablet {
    margin-left: 0;
    /* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */
    @media only screen and (min-width: 769px) {
    .gridContainer {
              width: 88.5%;
              max-width: 1232px;
              padding-left: 0.75%;
              padding-right: 0.75%;
              margin: auto;
              clear: none;
              float: left;
              margin-left: auto;
    #top {
    #mainnav {
    #menuSystem {
    .menuItem {
              width: 23.7288%;
              margin-left: 1.6949%;
              clear: none;
    #hero {
    #footer {
    #wrapper {
              position: relative;
              height: 0%;
    #childpageimage {
              width: 49.1525%;
    #content2 {
              width: 57.6271%;
              font-size: large;
              margin-left: 1.6949%;
              clear: none;
    #content3 {
    #contact {
              width: 6.7796%;
              margin-left: 1.6949%;
              clear: none;
    #contenttitle {
    width: 32.2033%;
    #content {
    width: 40.6779%;
    margin-left: 1.6949%;
    clear: none;
    .zeroMargin_desktop {
    margin-left: 0;
    .hide_desktop {
    display: none;
    index.html
    <!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>Kate Farrow</title>
    <style type="text/css">
    body {background-color:#1F1F1F;} </style>
    <link href="boilerplate.css" rel="stylesheet" type="text/css">
    <link href="fluidgrid.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="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="respond.min.js"></script>
    <!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.--><script>var __adobewebfontsappname__="dreamweaver"</script><script src="http://use.edgefonts.net/source-sans-pro:n2,n6,n4:default;fredericka-the-great:n4:default. js" type="text/javascript"></script>
    </head>
    <body>
    <div class="gridContainer clearfix"><div id="wrapper" class="fluid">
      <header id="top" class="fluid"><aside id="contact" class="fluid">
        <div align="center"><a href="http://www.linkedin.com/in/farrowkate" style="text-decoration:none;"><span style="font: 80% Arial,sans-serif; color:#0783B6;"><img src="http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_in_20x15.png" width="40" height="30" alt="View Kate Farrow's LinkedIn profile" style="vertical-align:middle" border="0"></span></a></div>
      </aside>
        <h1 align="center">Kate Farrow</h1>
        <nav id="mainnav" class="fluid">
          <div align="center">
            <ul id="menuSystem" class="fluid fluidList">
              <li class="fluid menuItem zeroMargin_desktop zeroMargin_tablet"><a href="index1.html">Home</a></li>
              <li class="fluid menuItem"><a href="about.html">About</a></li>
              <li class="fluid menuItem"><a href="work.html">Work</a></li>
              <li class="fluid menuItem"><a href="resume.html">Resum&Eacute;</a></li>
            </ul>
          </div>
        </nav>
      </header><div id="hero" class="fluid"><img src="140210_Kate_044.jpg" alt=""/></div>
      <div id="contenttitle" class="fluid">
        <h2>Who am I?</h2>
      </div>
      <article id="content2" class="fluid">
        <p>My name is <strong>Kate Farrow</strong>. </p>
        <p>I’m a creative spirit with a great imagination, a passion for writing, and a knack for web strategy. Check out my work to see what I’m talking about.</p>
      </article>
      <footer id="footer" class="fluid">
        <p> </p>
        <p>&copy; Kate Farrow 2014. Photography &copy; L. Farrow and J. Sandhu</p>
        <p> </p>
      </footer>
    </div></div>
    </body>
    </html>

    The "align" attribute is obsolete.  See centering Pages, Images and other elements with CSS
    http://cookbooks.adobe.com/post_Centering_web_pages_and_other_elements_with_CSS-16640.html
    FluidGrids are for experienced web designers who already understand  the core concepts of HTML, CSS and  Advanced CSS Media Queries.  Don't bite off more than you can  chew for a 1st project.  Start with a stable, fixed-width layout.  When you become proficient with that, then you can take on more challenges.
    Go to File > New > Blank page > HTML.  Select a layout from the 3rd panel.  Hit Create.
    Creating your first web site in DW - (5-part tutorial)
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    Nancy O.

  • Problems with margins and borders in a fluid grid layout

    When I create a page using the built-in fluid brid layout option in Dreamweaver CC, I have problems adding margins and borders. to the elements I've added to the page.
    Is there a method to prevent the above occurring?

    Hi Ken
    I'm sizing each element to specific grid sizes and, working in the "show fluid grid layout guides" view am aligning the second element alongside the first by click the "up" arrow. e.g.:
    I'm using a 24 grid layout (mainly because I thought it would allow more flexibility when working on two or three column layouts)
    I have the first element 10 grids wide (41.348% wide) and the second element 14 grids wide (56.9% wide)
    I've populated the first element with text including an h2, h3 and p element
    In the second element I've inserted an EasyRotator slideshow
    The third element is below the first containing text . That is also 10 grids wide
    The fourth element also contains text and is 9 grids wide and has margins of left = 8% and right = 7% so that it appears below the gallery and it has a border around it.
    The problem occors when I try to place a border around the element containing the EasyRotator. When I do, it become too large and drops below the first element.
    How can I control this problem?
    Thanks in anticipation.
    David
    P.S. Can you recomment any tutorials that provide info on the above.
    I'm subscribed to Lynda.com, have searched adobe TV and looked at all the tutorials that are provided through Dreamweaver CC Help.
    Nowhere can I find the above subject covered.
    I'd like to find a tutorial which also provides exercise files to work with if possible.

  • Placing a background image in fluid grid layout

    I am having trouble building a fluid grid layout  I am not sure why but when I shrink the layout it doesn't seem to work correctly
    I need to do 2 things.
    1) make the background image shrink as it is suppossd to. when you scale down the images doesn't shirink to tablet size and isn't there for the phone size (although I think I want a new image for phone with just one side of the (page image). on it so I assume I just link that in there under that section in in the css
    2)It doesn't seem to want to align the writing so that it is only over the page section of the background image on each side (the rightcontent and left content boxes-ie they should look like text on a page)
    also I want to take the page here when it is finished and make it a template for further pages (just changing the text) is that done the same as usual for the fluid grids?
    Thank you in advance for the help
    Here is the link that the site has been temp posted on for detail editing. 
    http://approvalsite.info/

    Kind of makes sense.
    I am not sure how to make the div tag layouts relative to the background image.
    please advise.
    also, I have been playing with it and it seems to be working better now.
    But the issue I have with it now is that the image on the right side of the page keeps showing at the bottom of the page instead of on the top of the page directly next to the wording on the left.
    does anyone know why?
    I am sure it is just a simple coding issue.
    help
    approvalsite.info
    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%;
        Dreamweaver Fluid Grid Properties
        dw-num-cols-mobile:        5;
        dw-num-cols-tablet:        8;
        dw-num-cols-desktop:    12;
        dw-gutter-percentage:    25;
        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 {
        width: 85%;
        padding-left: 1.82%;
        padding-right: 1.82%;
        background: url(../images/DSC_0014.jpg) center fixed;
        -webkit-background-size: cover;
          -moz-background-size: cover;
          -o-background-size: cover;
          -background-size: cover;
    #LayoutDiv1 {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #header {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #menubar {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #leftcontent {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
        height:auto;
    #rightcontent {
        clear: both;
        float: right;
        margin-left: 0;
        width: 100%;
        display: block;
        height:auto;
    #footer {
        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: 90.675%;
        padding-left: 1.1625%;
        padding-right: 1.1625%;
        background: url(../images/DSC_0013.jpg) no-repeat center center fixed;
          -webkit-background-size: cover;
          -moz-background-size: cover;
          -o-background-size: cover;
          -background-size: cover;
    #LayoutDiv1 {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #header {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #menubar {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #leftcontent {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #rightcontent {
        clear: both;
        float: right;
        margin-left: 0;
        width: 100%;
        display: block;
    #footer {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    /* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */
    @media only screen and (min-width: 769px) {
    .gridContainer {
        width: 90%;
        max-width: 1232px;
        padding-left: 0.75%;
        padding-right: 0.75%;
        margin: auto;
        background: url(../images/DSC_0013.jpg) no-repeat center center fixed;
          -webkit-background-size: cover;
          -moz-background-size: cover;
          -o-background-size: cover;
          -background-size: cover;
    #LayoutDiv1 {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #header {
        clear: both;
        float: left;
        margin-left: 5%;
        width: 100%;
        display: block;
    #menubar {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #leftcontent {
        clear: both;
        float: left;
        margin-left: 15%;
        width: 30%;
        display: block;
        padding-right: 2%;
    #rightcontent {
        clear: none;
        float: right;
        margin-left: 1%;
        width: 49%;
        display: block;
        margin-right: 8%;
    #footer {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    HTML
    <!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="_css/layout.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>
    <!-- Start css3menu.com HEAD section -->
    <link rel="stylesheet" href="index_files/css3menu1/style.css" type="text/css" />
    <!-- End css3menu.com HEAD section -->
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="header"><h1>Jan Kardy's Literary Agency</h1></div>
    <div id="menubar">
    <!-- Start css3menu.com BODY section id=1 -->
    <ul id="css3menu1" class="topmenu">
        <li class="topfirst"><a href="../index.html" style="height:18px;line-height:18px;">Home</a></li>
        <li class="topmenu"><a href="../about_jankardys.html" style="height:18px;line-height:18px;">About Jan Kardys</a></li>
        <li class="topmenu"><a href="#" style="height:18px;line-height:18px;"><span>Resources</span></a>
        <ul>
            <li><a href="../Education_connection.html">Education Connection</a></li>
            <li><a href="../submission_guidelines.html">Submission Guidelines</a></li>
            <li><a href="#"><span>Blogs</span></a>
            <ul>
                <li><a href="http://unicornwritersconferencect.blogspot.com/">Unicorn Writers Conference</a></li>
                <li><a href="http://advancenetworkingunicorn.blogspot.com/">Advanced Networking Blogs</a></li>
            </ul></li>
            <li><a href="../first_steps_to_publishing.html">First Steps to Publishing</a></li>
            <li><a href="../library_publish_events.html">Library &amp; Publishing Events</a></li>
            <li><a href="#">Art Gallery</a></li>
        </ul></li>
        <li class="topmenu"><a href="#" style="height:18px;line-height:18px;">Clients</a></li>
        <li class="toplast"><a href="#" style="height:18px;line-height:18px;">Contact Jan Kardys</a></li>
    </ul>
    <p style="display:none"><a href="http://css3menu.com/">Horizontal Menu Using CSS Css3Menu.com</a></p>
    <!-- End css3menu.com BODY section -->
    </div>
      <div id="leftcontent">
        <p>Jan   Kardys, President of Black Hawk Literary Agency, has thirty years of   diversified publishing experience for nine major publishing   corporations. Black Hawk Literary Agency LLC represents a broad spectrum   of authors and illustrators, with a focus on new nonfiction and   fiction.  <br />
        </p>
        <p>Jan was Director of   Contracts for Warner Books/Little, Brown &amp; Company, Director of   Contracts at Macmillan Publishing Company, Charles Scribner's Sons, and   Contracts Director at Prentice Hall/Simon &amp; Schuster. Ms. Kardys has   worked at Harcourt Brace Jovanovich, Doubleday, Scholastic, Lippincott   &amp; Crowell, Publishers, St. Martin's Press, Conde Nast Publications,   and Google. Beginning a career in editorial, Jan also worked in art and   production in School publishing. Jan held various executive positions in   subsidiary rights, licensing, database design, imaging, royalty   conversions, contracts, copyrights &amp; permissions departments.<br />
        </p>
        <p></p>
      </div>
        <div id="rightcontent"><p><strong><center>Jan Kardys, Literary Agent<br />
        Black Hawk Literary Agency, LLC. <br />
        17 Church Hill Road,<br />Redding, CT 06896</center></strong></p>
        <p><strong><center>
          <p><img src="images/jankardys.jpg" alt="jankardys_headshot" /></p>
          <p>Blog: <a title="http://bookpublishingteacher.blogspot.com" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://bookpublishingteacher.blogspot.com">http: bookpublishingteacher.blogspot.com</a><br />
          </p>
          <p>Email: <a href="mailto:[email protected]" title="mailto:[email protected]">[email protected]</a> <br />
          </p>
          <p>Phone: 203-938-7405</p>
        </center></strong></p>
      </div>
        <div id="footer"><h6>Webpage designed by Technomage Web Design</h6></div>
    </div>
    </body>
    </html>

  • How to Scale Images in a Table in Fluid Grid Layout?

    I copied over a table full of mouseover images into my new fluid grid layout. It all works fine, but in Mobile mode, all the images are compressed horizontally. How do I fix this?
    http://savcp.com/howwemet-fluid.html

    Strip out your table code with F&R.  You could greatly reduce your code & page load by using CSS instead of image swap behaviors.  Same size images would produce a nicer appearance, too.
    Below, I used floated <p> tags as containers for pictures.  Copy & paste this into a new, blank document and SaveAs test.html.  Preview in browsers with various viewport widths to see the effect.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 document</title>
    <style>
    body { background: #222 }
    /**BEGIN PICS**/
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    #pics {
    width: 100%;
    overflow:hidden;
    margin: 55px auto;
    border: 1px solid silver;
    #pics p {
    float: left;
    width: 24%;
    text-align: center;
    /**space between**/
    margin: 0 0.25%;
    border: 1px solid #222;
    #pics img {
    max-width: 100%;
    border: 5px solid #333;
    /**opacity on linked pics**/
    #pics a img {
    /**for pre-IE8**/
    filter: alpha(opacity=90);
    /**for other browsers**/
    opacity: .90;
    /**on mouseover**/
    #pics a img:hover, #pics a img:active, #pics a img:focus {
    filter: alpha(opacity=100);
    opacity: 1.0;
    border-color: #09C;
    /**ADJUST BREAKPOINTS AS REQUIRED**/
    /* Special Rules for Mobiles */
    @media only screen and (max-width: 480px) {
    #pics p{    height:110px;}
    /* Special Rules for Tablets */
    @media only screen and (min-width: 481px) {
    #pics p{    height:175px;}
    /* Special Rules for Desktops */
    @media only screen and (min-width: 600px) {
    #pics p{    height:255px;}
    /**end PICS**/
    </style>
    </head>
    <body>
    <div id="pics">
    <p><a href="howwemet/mb3.html">
    <img src="http://savcp.com/images/story/mb2.gif">
    </a></p>
    <p><a href="ww3.html">
    <img src="http://savcp.com/images/story/ww2.gif">
    </a></p>
    <p><a href="bs3.html">
    <img src="http://savcp.com/images/story/bs2.gif">
    </a></p>
    <p><a href="rr3.html">
    <img src="http://savcp.com/images/story/rr2.gif">
    </a></p>
    <p><a href="howwemet/mb3.html">
    <img src="http://savcp.com/images/story/mb2.gif">
    </a></p>
    <p><a href="ww3.html">
    <img src="http://savcp.com/images/story/ww2.gif">
    </a></p>
    <p><a href="bs3.html">
    <img src="http://savcp.com/images/story/bs2.gif">
    </a></p>
    <p><a href="rr3.html">
    <img src="http://savcp.com/images/story/rr2.gif">
    </a></p>
    <p><a href="howwemet/mb3.html">
    <img src="http://savcp.com/images/story/mb2.gif">
    </a></p>
    <p><a href="ww3.html">
    <img src="http://savcp.com/images/story/ww2.gif">
    </a></p>
    <p><a href="bs3.html">
    <img src="http://savcp.com/images/story/bs2.gif">
    </a></p>
    <p><a href="rr3.html">
    <img src="http://savcp.com/images/story/rr2.gif">
    </a></p>
    <p><a href="wk3.html">
    <img src="http://savcp.com/images/story/wk2.gif">
    </a></p>
    <p><a href="ss3.html">
    <img src="http://savcp.com/images/story/ss2.gif">
    </a></p>
    <!--end #pics-->
    </div>
    </body>
    </html>
    Nancy O.

  • 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

  • Can I control column color in fluid grid layout?

    The columns in fluid grid layout are gray in CC; they used to be pink. I highly prefer pink, as I almost never design with that color, and I frequently design with gray.
    Is there a way to set a preference for grid column color in CC?
    Thanks.

    NO NO NO NO NO!
    Never make your navigation editable or you will shoot
    yourself in the foot
    when it comes time to change a link there and you would have
    to touch every
    page. <sheesh>
    Give each of those links a unique ID, e.g.,
    <a href="page1.html" id="link1">Page 1</a> |
    <a href="page2.html"
    id="link2">Page 2</a>....
    Then in the head of each child page, add this to the Editable
    Region called
    "head" -
    <style type="text/css">
    a#link2 { color:whatever; otherstuff:whatever; }
    </style>
    Now you would just edit the embedded stylesheet to change
    a#link2 to a#link3
    or whichever button you wanted to affect on that page.
    Alternatively, you can go here -
    http://www.divahtml.com and get
    their
    DivaGPS extension.
    DO NOT MAKE YOUR NAVIGATION EDITABLE.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "malcster2" <[email protected]> wrote in
    message
    news:ga5dev$e89$[email protected]..
    > make those links editable regions on the template, and
    apply the
    > neccessary styles in the individual html pages

  • Problems with fluid grid layout live site only showing phone view in Chrome and Firefox Feb 2015

    Hi all,
    I have done a complex fluid grid layout using DW 2014 CC. The site has now gone live on the web masters server setup.
    Up until now the layout of the site has been working fine and responding to screen size.
    Early this morning in the USA the site stopped working. The layout for some users, not all, is only showing the phone view, and takes a long time to load.
    This is happening in Chrome and Firefox, but IE is displaying the site properly.
    So it looks like the CSS media queries are not working on all browsers.
    I am using BC for the test site, and one user having this problem can see that version of the site OK.
    I noticed that Chrome has done some updates recently Chrome Releases
    Has anyone else come across this problem with Chrome and Firefox with their responsive layouts?
    Thanks for any help given.

    Hi Ben,
    Yes, thanks for this link. The Travel Health Website is one of ours, hosted on BC, and no reported problems so far. We also have another large BC website with ga code in it and users are not reporting problems with it. The Headless Way
    However the problem website is hosted elsewhere on a different platform to BC. We have been developing it for three months now, and no problems so far until yesterday. The problem of the site taking ages to load, and timing out seems to be happening with about 10% of users in the USA. http://www.harrisonassessments.com/
    The web developer found a user in NZ who was experiencing the slow display problem. They looked at the site with Chrome, Firefox and IE. The site would only display on IE. When the developer removed the google analytics code, the site displayed fine on all browsers for the NZ user. We are waiting for users in the USA to wake up and test the site.
    So the problem definitely is related to the ga code and the responsive layout that was done by me in DW2014.1 fluid grid layout. So the related problem of DW2014.1 not being able to load htm files with ga code in them looks to be a good clue to what is going on here.
    As there was a bug report for DW2014.1 and google analytics code made in the other thread, I would be interested to know if that was ever solved.
    It is interesting that you are pushing Bootstrap and Foundation on me. (Big square websites here I come! lol)
    I wonder if DW is going to persist with fluid grid layout then? I certainly hope so, as I have spent 12 months blood sweat and tears learning how to do it in DW.

  • 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.

  • Dreamweaver CS6 Fluid Grid Layout

    I fear there may not be a solution to this issue! I have placed several hotspots on an image in a Fluid Grid Layout div in DW CS6 and the problem is quite straightforward. Whilst the "image" reduces perfectly when viewed in Tablet and Smartphone screens the "hotspots" remain in the same position they were at in the Desktop view! The result is the same irrespective of which view you set the hotspots in. Is there a solution to this problem or is it insurmountable?

    OK.  Let's just paste the script into your HTML page and see if that works.
    Open your page in code view.
    Replace this:
    <!--maphighlight-->
    <script src="fancybox/maphighlight.js"></script>
    <!--fancybox-->
    With all of this:
    <!--maphighlight-->
    <script>
    // map highlight JavaScript Document
    (function(F){var B,C,I,L,K,H,E,G,A,J;B=document.namespaces;has_canvas=!!document.createElement("canvas").getContext;if(!(has_canvas||B)){F.fn.maphilight=function(){return this};return }if(has_canvas){E=function(M){return Math.max(0,Math.min(parseInt(M,16),255))};G=function(M,N){return"rgba("+E(M.substr(0,2))+","+E(M.substr(2,2))+","+E(M.substr(4,2))+","+N+")"};C=function(M){var N=F('<canvas style="width:'+M.width+"px;height:"+M.height+'px;"></canvas>').get(0);N.getContext("2d").clearRect(0,0,N.width,N.height);return N};I=function(P,M,S,O,N){var R,Q=P.getContext("2d");Q.beginPath();if(M=="rect"){Q.rect(S[0],S[1],S[2]-S[0],S[3]-S[1])}else{if(M=="poly"){Q.moveTo(S[0],S[1]);for(R=2;R<S.length;R+=2){Q.lineTo(S[R],S[R+1])}}else{if(M=="circ"){Q.arc(S[0],S[1],S[2],0,Math.PI*2,false)}}}Q.closePath();if(O.fill){Q.fillStyle=G(O.fillColor,O.fillOpacity);Q.fill()}if(O.stroke){Q.strokeStyle=G(O.strokeColor,O.strokeOpacity);Q.lineWidth=O.strokeWidth;Q.stroke()}if(O.fade){F(P).css("opacity",0).animate({opacity:1},100)}};L=function(M){M.getContext("2d").clearRect(0,0,M.width,M.height)}}else{C=function(M){return F('<var style="zoom:1;overflow:hidden;display:block;width:'+M.width+"px;height:"+M.height+'px;"></var>').get(0)};I=function(N,Q,R,U,M){var S,T,O,P;S='<v:fill color="#'+U.fillColor+'" opacity="'+(U.fill?U.fillOpacity:0)+'" />';T=(U.stroke?'strokeweight="'+U.strokeWidth+'" stroked="t" strokecolor="#'+U.strokeColor+'"':'stroked="f"');O='<v:stroke opacity="'+U.strokeOpacity+'"/>';if(Q=="rect"){P=F('<v:rect name="'+M+'" filled="t" '+T+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+R[0]+"px;top:"+R[1]+"px;width:"+(R[2]-R[0])+"px;height:"+(R[3]-R[1])+'px;"></v:rect>')}else{if(Q=="poly"){P=F('<v:shape name="'+M+'" filled="t" '+T+' coordorigin="0,0" coordsize="'+N.width+","+N.height+'" path="m '+R[0]+","+R[1]+" l "+R.join(",")+' x e" style="zoom:1;margin:0;padding:0;display:block;position:absolute;top:0px;left:0px;width:'+N.width+"px;height:"+N.height+'px;"></v:shape>')}else{if(Q=="circ"){P=F('<v:oval name="'+M+'" filled="t" '+T+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+(R[0]-R[2])+"px;top:"+(R[1]-R[2])+"px;width:"+(R[2]*2)+"px;height:"+(R[2]*2)+'px;"></v:oval>')}}}P.get(0).innerHTML=S+O;F(N).append(P)};L=function(M){F(M).find("[name=highlighted]").remove()}}K=function(N){var M,O=N.getAttribute("coords").split(",");for(M=0;M<O.length;M++){O[M]=parseFloat(O[M])}return[N.getAttribute("shape").toLowerCase().substr(0,4),O]};J=function(O,N){var M=F(O);return F.extend({},N,F.metadata?M.metadata():false,M.data("maphilight"))};A=function(M){if(!M.complete){return false}if(typeof M.naturalWidth!="undefined"&&M.naturalWidth==0){return false}return true};H={position:"absolute",left:0,top:0,padding:0,border:0};var D=false;F.fn.maphilight=function(O){O=F.extend({},F.fn.maphilight.defaults,O);if(!has_canvas&&F.browser.msie&&!D){document.namespaces.add("v","urn:schemas-microsoft-com:vml");var N=document.createStyleSheet();var M=["shape","rect","oval","circ","fill","stroke","imagedata","group","textbox"];F.each(M,function(){N.addRule("v\\:"+this,"behavior: url(#default#VML); antialias:true")});D=true}return this.each(function(){var U,R,Y,Q,T,V,X,S,W;U=F(this);if(!A(this)){return window.setTimeout(function(){U.maphilight(O)},200)}Y=F.extend({},O,F.metadata?U.metadata():false,U.data("maphilight"));W=U.get(0).getAttribute("usemap");Q=F('map[name="'+W.substr(1)+'"]');if(!(U.is("img")&&W&&Q.size()>0)){return }if(U.hasClass("maphilighted")){var P=U.parent();U.insertBefore(P);P.remove();F(Q).unbind(".maphilight").find("area[coords]").unbind(".maphilight")}R=F("<div></div>").css({display:"block",background:'url("'+this.src+'")',position:"relative",padding:0,width:this.width,height:this.height});if(Y.wrapClass){if(Y.wrapClass===true){R.addClass(F(this).attr("class"))}else{R.addClass(Y.wrapClass)}}U.before(R).css("opacity",0).css(H).remove();if(F.browser.msie){U.css("filter","Alpha(opacity=0)")}R.append(U);T=C(this);F(T).css(H);T.height=this.height;T.width=this.width;X=function(c){var a,b;b=J(this,Y);if(!b.neverOn&&!b.alwaysOn){a=K(this);I(T,a[0],a[1],b,"highlighted");if(b.groupBy){var Z;if(/^[a-zA-Z][-a-zA-Z]+$/.test(b.groupBy)){Z=Q.find("area["+b.groupBy+'="'+F(this).attr(b.groupBy)+'"]')}else{Z=Q.find(b.groupBy)}var d=this;Z.each(function(){if(this!=d){var f=J(this,Y);if(!f.neverOn&&!f.alwaysOn){var e=K(this);I(T,e[0],e[1],f,"highlighted")}}})}if(!has_canvas){F(T).append("<v:rect></v:rect>")}}};F(Q).bind("alwaysOn.maphilight",function(){if(V){L(V)}if(!has_canvas){F(T).empty()}F(Q).find("area[coords]").each(function(){var Z,a;a=J(this,Y);if(a.alwaysOn){if(!V&&has_canvas){V=C(U.get());F(V).css(H);V.width=U.width();V.height=U.height();U.before(V)}a.fade=a.alwaysOnFade;Z=K(this);if(has_canvas){I(V,Z[0],Z[1],a,"")}else{I(T,Z[0],Z[1],a,"")}}})});F(Q).trigger("alwaysOn.maphilight").find("area[coords]").bind("mouseover.maphilight",X).bind("mouseout.maphilight",function(Z){L(T)});U.before(T);U.addClass("maphilighted")})};F.fn.maphilight.defaults={fill:true,fillColor:"00CC00",fillOpacity:0.3,stroke:true,strokeColor:"99FF33",strokeOpacity:0.5,strokeWidth:2,fade:true,alwaysOn:false,neverOn:false,groupBy:false,wrapClass:true}})(jQuery);
    </script>
    <!--fancybox-->
    Save.  Upload to server.
    Nancy O.

Maybe you are looking for

  • Setting icon position

    I'm having a problem with the code below: It will compile in the editor but I get an error when it's run - Finder got an error: Can't set position of item bla, bla.... If tried every possible combination that I can think of for the correct syntax, an

  • Importing Word into InDesign, problem with styles

    OS 10.6, CS5 Hi everyone, Does anyone have any experience with importing styled Word docs into InDesign? Editors style their Word documents with some basic styles (Text, References, Headline, etc.) using a Word template that I created. Designers use

  • Business Catalyst Help | Learn how to change the domain name

    This question was posted in response to the following article: http://helpx.adobe.com/business-catalyst/using/change-site-domain1.html

  • Simple question...*bmp in a JPanel

    How do I load a *.bmp file and draw it on the JPanel? I was going to JPanel.getGraphics() and Graphics.drawImage() which needs an Image, but there is no constructor for an image to load any kind of *.bmp or *.jpg, *.gif for that matter either. Lookin

  • After Effects error: Unable to allocate space for image buffer

    I am having some glitchy issues with After Effects, very inconsistent, but I am getting the error message "After Effects error: unable to Allocate Space for a 7500 x 4500 image buffer. You may be experiencing fragmentation. In the Memory and Multipro