Centering a layers-built site in a browser

I'm new to Dreamweaver 8 and I began building my site in
layers. My problem is, I can't get the site to remain in the center
of the browser's window. What I want is when the window is
maximized, the page will be centered. ...when the window shifts to
a smaller size, the page will still be centered. The site, however,
will remain the same width. All I'm able to change now is the
coordinates of the layers ... but what I guess I want is for all
the elements to be controlled by a "master" layer?

You are using absolutely positioned div. At least that is
what I assume
since you mentioned changing coordinates. The easiest patch
would be to wrap
everything in a "wrapper" div. Position this wrapper div
relatively, not
absolutely. Give it a defined width and set the margins to 0
for top and
bottom and auto for left and right. Something like this:
#wrapper {
width: 780px;
margins: 0 auto;
If you want to support the centering in IE5 you will need to
text-align the
body center and text-align the wrapper back to left.
#body {
text-align: center;
#wrapper {
width:780px;
margins: 0 auto;
text-align: left; /* Kill centering of text cascade */
Bryan Ashcraft (remove brain to reply)
Web Application Developer
Wright Medical Technologies, Inc.
=============================
Macromedia Certified Dreamweaver Developer
Adobe Community Expert (DW) ::
http://www.adobe.com/communities/experts/
"Montigue" <[email protected]> wrote in
message
news:e6cgfh$25l$[email protected]..
> I'm new to Dreamweaver 8 and I began building my site in
layers. My
> problem is,
> I can't get the site to remain in the center of the
browser's window. What
> I
> want is when the window is maximized, the page will be
centered. ...when
> the
> window shifts to a smaller size, the page will still be
centered. The
> site,
> however, will remain the same width. All I'm able to
change now is the
> coordinates of the layers ... but what I guess I want is
for all the
> elements
> to be controlled by a "master" layer?
>
>
>

Similar Messages

  • Desktop site in mobile browser scales text badly

    Hi,
    i want to display desktop site on mobile browser (chrome) just as it's look on computer but textframes are not scaled as it should and layout is corrupted (big text).
    When I added metadata viewport width=device-width problem gone but then lightbox view is corrupted - it's show at bad position (not centered in viewport but form the top and shifted to the left side).
    I don't want to make phone/tablet version of the page - there must be one version of the site displaying identicaly on desktop and mobile.
    Thanks.
    Barti

    Hi,
    This sounds like http://forums.adobe.com/message/5653011#5653011
    It appears that you are comfortable with code. In that case, I would recommend trying the max-height:1000000px suggestion in https://bugs.webkit.org/show_bug.cgi?id=FontBoosting to disable "Font Boosting". Please let me know if that works.
    Thanks
    Abhishek

  • I have built sites on my imac, mac mini and MBA all in iweb09

    i have built sites on my imac, mac mini and MBA all in iweb09 is there anyway to get them all on the same machine ? (i use mobile me)

    Here's what worked for me,
    I have two sites, one I mad on my macbook and one I made on my iMac.
    First go into the "Library" Folder. In there you will find a folder labeled application support.
    Go into that folder and you will find another call iWeb. Your site is in there.
    So I took the file for the site out of the iWeb folder on my macbook, and copied it to my
    iMac.
    I keep them separately. If i put the file from my Macbook into the iWeb folder on my iMac, it would replace the file that is already there. When you start iWeb it will automatically open from that folder.
    SO to keep them separate and organized, and to open the one you want there is a little trick.
    First copy them all to the machine you want them on.
    Take all your site's files and keep them in their own folders in the location you choose.
    Make sure that on the machine you are using there is nothing in the iWeb folder native to that machine. Just move that file to another location where you wont lose it.
    Now, start iWeb. When you do, iWeb will prompt you to either create a new site or allow you to choose one from a location of your choice. Tada! That is when you can choose whichever site you want to work on from the location where you are keeping them.
    Good luck.
    What is your site by the way?
    mine are www.kloran.com and www.myenglishimages.com

  • Switching ownership of Muse built site

    I'm trying to take over an externally built site for my company that is built in Muse and uploaded through an FTP. Although I have the FTP information the site still won't update. I'm not quite sure what I'm missing or doing wrong. Please help

    I am able to connect with the FTP but when I update the files nothing changes on the site when I look at it live.
    It's hosted through 1and1 but I do not have the login information and that, I believe, is where I can access the admin panel. So maybe that is something crucial I'll have to track down?
    I already tried exporting into Filezilla and dragging my new/updated file to there. Still no change on the production end.
    Thanks!

  • Help! My iweb app has just completely stopped working. It won't allow me to create a new site or open a previously built site. Please help, my deadline is fast approaching.

    Help! My iweb app has just completely stopped working. It won't allow me to create a new site or open a previously built site. What should I do? Please help, my deadline is fast approaching.

    What system and iWeb versions are you running? What happens when you double click on the iWeb application when trying to launch it?
    OT

  • I can't access The Age newspaper site from my browser, it says access denied.  Anyone know why?

    I can't access a couple of newspaper sites from my browser, it keeps saying access denied as per below.  Anyone know why?
    You don't have permission to access "http://news.theage.com.au/" on this server.
    Reference #18.9c1c1acb.1400412439.1b1d2748

    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test.

  • Muse-built site on business catalyst isn't loading on all browsers and devices

    My muse-built site on business catalyst isn't loading on all browsers and devices e.g. the full-screen video widget doesn't load or play, the scrolling doesn't work. Any advice? The site is gulch.businesscatalyst.com

    Once you add the domain to Business Catalyst and finish all the DNS delegation steps listed in the article for launching a site on BC, your old site will no longer load and users will go to the new BC site.  Your old hosting then could be discontinued with whichever vender you used. Be aware that DNS can sometimes take 24 hours to fully propogate so you should wait to make sure that things are all loading properly.  -j

  • Centering my site in the browser

    Hello there.
    I've just finished building a website with a fluid layout. When I tried it in the browser, it's not centered. I tried adding <center> </center> tags to the body of the HTML page but this didn't work... so how can I fix it?

    Here's my html Code:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-6" />
    <title>Index</title>
    <script language="JavaScript" type="text/javascript">
    <!--
    //v1.7
    // Flash Player Version Detection
    // Detect Client Browser type
    // Copyright 2005-2008 Adobe Systems Incorporated.  All rights reserved.
    var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
    var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
    var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
    function ControlVersion()
         var version;
         var axo;
         var e;
         // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
         try {
              // version will be set for 7.X or greater players
              axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
              version = axo.GetVariable("$version");
         } catch (e) {
         if (!version)
              try {
                   // version will be set for 6.X players only
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
                   // installed player is some revision of 6.0
                   // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
                   // so we have to be careful.
                   // default to the first public version
                   version = "WIN 6,0,21,0";
                   // throws if AllowScripAccess does not exist (introduced in 6.0r47)          
                   axo.AllowScriptAccess = "always";
                   // safe to call for 6.0r47 or greater
                   version = axo.GetVariable("$version");
              } catch (e) {
         if (!version)
              try {
                   // version will be set for 4.X or 5.X player
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                   version = axo.GetVariable("$version");
              } catch (e) {
         if (!version)
              try {
                   // version will be set for 3.X player
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                   version = "WIN 3,0,18,0";
              } catch (e) {
         if (!version)
              try {
                   // version will be set for 2.X player
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
                   version = "WIN 2,0,0,11";
              } catch (e) {
                   version = -1;
         return version;
    // JavaScript helper required to detect Flash Player PlugIn version information
    function GetSwfVer(){
         // NS/Opera version >= 3 check for Flash plugin in plugin array
         var flashVer = -1;
         if (navigator.plugins != null && navigator.plugins.length > 0) {
              if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
                   var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
                   var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
                   var descArray = flashDescription.split(" ");
                   var tempArrayMajor = descArray[2].split(".");               
                   var versionMajor = tempArrayMajor[0];
                   var versionMinor = tempArrayMajor[1];
                   var versionRevision = descArray[3];
                   if (versionRevision == "") {
                        versionRevision = descArray[4];
                   if (versionRevision[0] == "d") {
                        versionRevision = versionRevision.substring(1);
                   } else if (versionRevision[0] == "r") {
                        versionRevision = versionRevision.substring(1);
                        if (versionRevision.indexOf("d") > 0) {
                             versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
                   var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
         // MSN/WebTV 2.6 supports Flash 4
         else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
         // WebTV 2.5 supports Flash 3
         else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
         // older WebTV supports Flash 2
         else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
         else if ( isIE && isWin && !isOpera ) {
              flashVer = ControlVersion();
         return flashVer;
    // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
    function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
         versionStr = GetSwfVer();
         if (versionStr == -1 ) {
              return false;
         } else if (versionStr != 0) {
              if(isIE && isWin && !isOpera) {
                   // Given "WIN 2,0,0,11"
                   tempArray         = versionStr.split(" ");      // ["WIN", "2,0,0,11"]
                   tempString        = tempArray[1];               // "2,0,0,11"
                   versionArray      = tempString.split(",");     // ['2', '0', '0', '11']
              } else {
                   versionArray      = versionStr.split(".");
              var versionMajor      = versionArray[0];
              var versionMinor      = versionArray[1];
              var versionRevision   = versionArray[2];
                 // is the major.revision >= requested major.revision AND the minor version >= requested minor
              if (versionMajor > parseFloat(reqMajorVer)) {
                   return true;
              } else if (versionMajor == parseFloat(reqMajorVer)) {
                   if (versionMinor > parseFloat(reqMinorVer))
                        return true;
                   else if (versionMinor == parseFloat(reqMinorVer)) {
                        if (versionRevision >= parseFloat(reqRevision))
                             return true;
              return false;
    function AC_AddExtension(src, ext)
      if (src.indexOf('?') != -1)
        return src.replace(/\?/, ext+'?');
      else
        return src + ext;
    function AC_Generateobj(objAttrs, params, embedAttrs)
      var str = '';
      if (isIE && isWin && !isOpera)
        str += '<object ';
        for (var i in objAttrs)
          str += i + '="' + objAttrs[i] + '" ';
        str += '>';
        for (var i in params)
          str += '<param name="' + i + '" value="' + params[i] + '" /> ';
        str += '</object>';
      else
        str += '<embed ';
        for (var i in embedAttrs)
          str += i + '="' + embedAttrs[i] + '" ';
        str += '> </embed>';
      document.write(str);
    function AC_FL_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
         , "application/x-shockwave-flash"
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_SW_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
         , null
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
      var ret = new Object();
      ret.embedAttrs = new Object();
      ret.params = new Object();
      ret.objAttrs = new Object();
      for (var i=0; i < args.length; i=i+2){
        var currArg = args[i].toLowerCase();   
        switch (currArg){     
          case "classid":
            break;
          case "pluginspage":
            ret.embedAttrs[args[i]] = args[i+1];
            break;
          case "src":
          case "movie":     
            args[i+1] = AC_AddExtension(args[i+1], ext);
            ret.embedAttrs["src"] = args[i+1];
            ret.params[srcParamName] = args[i+1];
            break;
          case "onafterupdate":
          case "onbeforeupdate":
          case "onblur":
          case "oncellchange":
          case "onclick":
          case "ondblclick":
          case "ondrag":
          case "ondragend":
          case "ondragenter":
          case "ondragleave":
          case "ondragover":
          case "ondrop":
          case "onfinish":
          case "onfocus":
          case "onhelp":
          case "onmousedown":
          case "onmouseup":
          case "onmouseover":
          case "onmousemove":
          case "onmouseout":
          case "onkeypress":
          case "onkeydown":
          case "onkeyup":
          case "onload":
          case "onlosecapture":
          case "onpropertychange":
          case "onreadystatechange":
          case "onrowsdelete":
          case "onrowenter":
          case "onrowexit":
          case "onrowsinserted":
          case "onstart":
          case "onscroll":
          case "onbeforeeditfocus":
          case "onactivate":
          case "onbeforedeactivate":
          case "ondeactivate":
          case "type":
          case "codebase":
          case "id":
            ret.objAttrs[args[i]] = args[i+1];
            break;
          case "width":
          case "height":
          case "align":
          case "vspace":
          case "hspace":
          case "class":
          case "title":
          case "accesskey":
          case "name":
          case "tabindex":
            ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
            break;
          default:
            ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
      ret.objAttrs["classid"] = classid;
      if (mimeType) ret.embedAttrs["type"] = mimeType;
      return ret;
    // -->
    </script>
    </head>
    <body bgcolor="#000000">
    <center>
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script language="JavaScript" type="text/javascript">
         AC_FL_RunContent(
              'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
              'width', '100%',
              'height', '100%',
              'src', 'Index',
              'quality', 'best',
              'pluginspage', 'http://www.adobe.com/go/getflashplayer',
              'align', 'middle',
              'play', 'true',
              'loop', 'true',
              'scale', 'showall',
              'wmode', 'window',
              'devicefont', 'false',
              'id', 'Index',
              'bgcolor', '#000000',
              'name', 'Index',
              'menu', 'true',
              'allowFullScreen', 'true',
              'allowScriptAccess','sameDomain',
              'movie', 'Index',
              'salign', ''
              ); //end AC code
    </script>
    <noscript>
         <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="Index" align="middle">
         <param name="allowScriptAccess" value="sameDomain" />
         <param name="allowFullScreen" value="true" />
         <param name="movie" value="Index.swf" /><param name="quality" value="best" /><param name="bgcolor" value="#000000" />     <embed src="Index.swf" quality="best" bgcolor="#000000" width="100%" height="100%" name="Index" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
         </object>
    </noscript>
    </center>
    </body>
    </html>

  • When using Live View, site looks great, browser testing goes crazy

    I am creating a new website (and I am really unexperienced with Dreamwaver CS5).  But when I check my site using "Live View" everything looks great, the way it is supposed to.  Then when I go to test it in my browswer (Primary browser is Chrome) it goes crazy:  I at first noticed that I had saved one copy as an .asp but then resaved it to .xhtml  I did delete the first line of code already that the .asp file created as it kept giving me an error on line 1.
    Then I tried to do a spry drop-down menu bar, which I have deleted since I thought I was doing something wrong with that and I should just stick to what I half-way know.
    If I were to preview the template page it gives me this error:
    This page contains the following errors:
    error on line 150 at column 76: error parsing attribute name
    Below is a rendering of the page up to the first error.
    Here is line 150:
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    If I were to test the index.xhtml page in the browser, it ignores most images (all but one), and the first nav-bar (an editable region) appears to the left instead of under the header.  The layout is totally ignored and everything is on the left-hand side of the screen instead of in a two column layout.
    I am not testing this on a server just off of my computer.
    I am assuming that the error has something to do with the .asp file I first did and when I resaved it, since I don't know what I would be looking for, is still in there screwing it up.
    Here is the code from the template page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Midwest Window Brokers | Page</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <style type="text/css">
    <!--
    body {
              font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
              margin: 0;
              padding: 0;
              color: #000;
              background-image: url(/images/bkg.jpg);
              background-repeat: repeat;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
              padding: 0;
              margin: 0;
    h1, h2, h3, h4, h5, h6, p {
              margin-top: 0;           /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
              padding-right: 15px;
              padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
              text-align: left;
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
              border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
              color: #060;
              text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
              color: #666;
              text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
              text-decoration: none;
    /* ~~this fixed width container surrounds the other divs~~ */
    .container {
              width: 960px;
              background: #FFF;
              margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
              background-color: #FFF;
    /* ~~ These are the columns for the layout. ~~
    1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
    2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div's rule to tame a bug where some versions of Internet Explorer double the margin.
    3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar divs could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.
    4) If you prefer your nav on the left instead of the right, simply float these columns the opposite direction (all left instead of all right) and they'll render in reverse order. There's no need to move the divs around in the HTML source.
    .sidebar1 {
              float: right;
              width: 300px;
              background: #ffffff;
              padding-bottom: 10px;
    .content {
              padding: 10px 0;
              width: 650px;
              float: right;
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
              padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
    /* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
    ul.nav {
              list-style: none; /* this creates the space between the navigation on the content below */
    ul.nav li {
              border-bottom: 1px solid #666; /* this creates the button separation */
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
              padding: 5px 5px 5px 15px;
              display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
              width: 160px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
              text-decoration: none;
              background-color: #DDDECB;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
              background: #ADB96E;
              color: #FFF;
    /* ~~ The footer ~~ */
    .footer {
              padding: 10px 0;
              position: relative;/* this gives IE6 hasLayout to properly clear */
              clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
              background-color: #DDDECB;
              font-size: small;
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
              float: right;
              margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
              float: left;
              margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
              clear:both;
              height:0;
              font-size: 1px;
              line-height: 0px;
    #h-navbar {
              font-weight: bold;
              height: auto;
              font-size: 18px;
              line-height: 50px;
              background-image: url(/images/navbar2.jpg);
    #h-navbar1 {
              background-image: none;
              background-repeat: repeat-x;
    -->
    </style>
    <script type="text/javascript">
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    </head>
    <body onload="MM_preloadImages('/images/home2.jpg')">
    <div class="container">
      <div class="header"><a href="/index.xhtml"><img src="../images/heading.jpg" alt="Midwest Window Brokers, Windows, Siding, Roofing, 605-791-5352" name="Insert_logo" width="950" height="200" align="right" id="Insert_logo" style="background: #FFFFFF; display:block;" /></a>
        <div id="h-navbar1"><a href="/index.xhtml"><img src="/images/home.jpg" alt="home" width="159" height="51" id="Image1" onmouseover="MM_swapImage('Image1','','/images/home2.jpg',1)" onmouseout="MM_swapImgRestore()" /></a><a href="/windows.html"><img src="/images/services.jpg" width="151" height="51" alt="services" /></a><a href="/freebay.xhtml"><img src="/images/specials.jpg" width="153" height="51" alt="specials" /></a><a href="/gallery.html"><img src="/images/gallery.jpg" width="152" height="51" alt="gallery" /></a><a href="/roofing.xhtml"><img src="/images/order.jpg" width="152" height="51" alt="order" /></a><img src="/images/blank.jpg" width="75" height="51" /><img src="/images/facebook.jpg" width="38" height="51" alt="facebook" longdesc="http://facebook.com/midwestwindowbrokers" /><img src="/images/twitter.jpg" width="37" height="51" alt="twitter" longdesc="http://twitter.com/midwestwindow" /><img src="/images/google.jpg" width="42" height="51" alt="google+" longdesc="http://https://plus.google.com/u/0/b/108071947231835835141/108071947231835835141/posts" /></div>
      <!-- end .header --></div>
      <!-- TemplateBeginEditable name="navbar" -->
      <div id="h-navbar">
        <div id="h-navbar2">  Content for  id "h-navbar2" Goes Here</div>
      </div>
      <!-- TemplateEndEditable -->
      <div class="sidebar1">
        <ul class="nav">
        </ul>
        <p> <div id="wufoo-z7x3k1">
    Fill out my <a href="http://midwestwindow.wufoo.com/forms/z7x3k1">online form</a>.
    </div>
    <script type="text/javascript">var z7x3k1;(function(d, t) {
    var s = d.createElement(t), options = {
    'userName':'midwestwindow',
    'formHash':'z7x3k1',
    'autoResize':true,
    'height':'601',
    'async':true,
    'header':'show'};
    s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js';
    s.onload = s.onreadystatechange = function() {
    var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return;
    try { z7x3k1 = new WufooForm();z7x3k1.initialize(options);z7x3k1.display(); } catch (e) {}};
    var scr = d.getElementsByTagName(t)[0], par = scr.parentNode; par.insertBefore(s, scr);
    })(document, 'script');</script></p>
        <!-- end .sidebar1 --></div>
      <!-- TemplateBeginEditable name="Body" -->
      <div class="content">
        <h1>Instructions</h1>
        <p>Be aware that the CSS for these layouts is heavily commented. If you do most of your work in Design view, have a peek at the code to get tips on working with the CSS for the fixed layouts. You can remove these comments before you launch your site. To learn more about the techniques used in these CSS Layouts, read this article at Adobe's Developer Center - <a href="http://www.adobe.com/go/adc_css_layouts">http://www.adobe.com/go/adc_css_layouts</a>.</p>
        <h2>Clearing Method</h2>
        <p>Because all the columns are floated, this layout uses a clear:both declaration in the .footer rule.  This clearing technique forces the .container to understand where the columns end in order to show any borders or background colors you place on the .container. If your design requires you to remove the .footer from the .container, you'll need to use a different clearing method. The most reliable will be to add a &lt;br class=&quot;clearfloat&quot; /&gt; or &lt;div  class=&quot;clearfloat&quot;&gt;&lt;/div&gt; after your final floated column (but before the .container closes). This will have the same clearing effect.</p>
        <h3>Logo Replacement</h3>
        <p>An image placeholder was used in this layout in the .header where you'll likely want to place  a logo. It is recommended that you remove the placeholder and replace it with your own linked logo. </p>
        <p><span style="font-size: 18px; color: #C00; font-weight: bold; font-style: italic;">Logo Replacement</span></p>
        <p> Be aware that if you use the Property inspector to navigate to your logo image using the SRC field (instead of removing and replacing the placeholder), you should remove the inline background and display properties. These inline styles are only used to make the logo placeholder show up in browsers for demonstration purposes. </p>
        <p>To remove the inline styles, make sure your CSS Styles panel is set to Current. Select the image, and in the Properties pane of the CSS Styles panel, right click and delete the display and background properties. (Of course, you can always go directly into the code and delete the inline styles from the image or placeholder there.)</p>
        <h4>Backgrounds</h4>
        <p>By nature, the background color on any div will only show for the length of the content. This means if you're using a background color or border to create the look of a side column, it won't extend all the way to the footer but will stop when the content ends. If the .content div will always contain more content, you can place a border on the .content div to divide it from the column.</p>
        <!-- end .content -->
      </div>
      <!-- TemplateEndEditable -->
      <div class="footer">
        <p class="footer"><strong>  <em>References Available!</em>     We accept cash, check, Visa, Discover, MasterCard</strong></p>
          Copyright 2012 Midwest Window Brokers Inc. All Rights Reserved.
        <!-- end .footer --></div>
      <!-- end .container --></div>
    </body>
    </html>

    I had saved one copy as an .asp but then resaved it to .xhtml 
    I'm assuming this is a static web site.  Rename (F2) all your pages with .html or .htm extension. 
    .xhtml is not a valid extension.
    Nancy O.

  • Centering with layers problem

    I have a problem centering a layer that has an image with
    relative positioning. I've replicated this phenomena with some
    basic code to make it easy to convey:
    I would like to position a layer with an image that is
    horizontally center to the page regardless of the screen
    resolution. I created a div tag called "layer1" with the
    appropriate descriptors below. This "appears" to center the image,
    but when I take my pencil and measure the left and right of the red
    box, it is clear that there are different measurements. When I
    center text just above the centered image, it is immediately
    apparent that the jpeg is not totally in the center. I've tried
    looking at it in 800x600 and higher resolutions, all with the same
    results.
    This is a big deal since the more complicated code where I am
    trying to center the layer with the image offsets images to where
    the entire page looks jumbled.
    I've attached the html code so you can see what I am doing.
    The image is just a red box that I made with GIMP.
    Can anyone see my error?

    > regardless of the screen resolution
    Just so you'll know, this is NOT a resolution issue. It's a
    browser
    viewport width issue. The same page will look the same on
    *any* resolution
    screen as long as the browser viewport is the same width in
    pixels on all
    screens.
    Put a border around your "pseudo-layer" (it's not a layer)
    and you'll see
    that it is in fact completely centered on all browser widths
    on any
    resolution screen.
    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
    ==================
    "SysTechGuy" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have a problem centering a layer that has an image with
    relative
    >positioning.
    > I've replicated this phenomena with some basic code to
    make it easy to
    > convey:
    >
    > I would like to position a layer with an image that is
    horizontally center
    > to
    > the page regardless of the screen resolution. I created
    a div tag called
    > "layer1" with the appropriate descriptors below. This
    "appears" to center
    > the
    > image, but when I take my pencil and measure the left
    and right of the red
    > box,
    > it is clear that there are different measurements. When
    I center text
    > just
    > above the centered image, it is immediately apparent
    that the jpeg is not
    > totally in the center. I've tried looking at it in
    800x600 and higher
    > resolutions, all with the same results.
    > This is a big deal since the more complicated code where
    I am trying to
    > center
    > the layer with the image offsets images to where the
    entire page looks
    > jumbled.
    >
    > I've attached the html code so you can see what I am
    doing. The image is
    > just
    > a red box that I made with GIMP.
    >
    > Can anyone see my error?
    >
    >
    > #layer1{
    > position:relative;
    > width:200px;
    > height:115px;
    > z-index:1;
    > top:50px;
    > margin:0 auto;
    > }
    >
    > <title>Untitled Document</title>
    > <script language="JavaScript"
    type="text/JavaScript">
    > <!--
    > function MM_reloadPage(init) { //reloads the window if
    Nav4 resized
    > if (init==true) with (navigator) {if
    >
    ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    > document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
    > onresize=MM_reloadPage; }}
    > else if (innerWidth!=document.MM_pgW ||
    innerHeight!=document.MM_pgH)
    > location.reload();
    > }
    > MM_reloadPage(true);
    > //-->
    > </script>
    > <link href="layer_test.css" rel="stylesheet"
    type="text/css">
    > </head>
    >
    > <body>
    > <div align="center">
    > <p>This is a test for layering </p>
    > <p>  </p>
    > </div>
    >
    > <div id="layer1"><img
    src="Practice_Pics/red.jpg"></div>
    > </body>
    > </html>
    >

  • X79A-GD65 8D problem with built in BIOS utilities (browser, etc)

    Good day. I have my X79A-GD65 8D running for about a week now paired with i7 3930k. The board is working wonderfully, however there is just one issue. After installing winki from the cd and returning to the bios to use the built in browser or MSI live update, the white splash screen appears for a while and shortly after a black screen appears and remains.
    Ive tried leaving the disc in the drive and have the browsre run directly from the CD but still no luck. I've also borrowed the install DVD of a friend of mine who has an identical board but it still doesnt work.
    Please note that I am on the latest BIOS, version 1.7.
    Any help will be appreciated.

    Must be talking about Winki? The Software Application User Guide covers it pretty well how it all works and such. Using Live Update is not recommended to be installed or used. Do all UEFI/BIOS updates and driver updates manually from the downloaded files available at the MSI Websites.

  • I have the latest Firefox, but I cannot open any sites from the browser. It just hangs. It used to be my favorite browser. Now I can't use it at all.

    When I open the browser and ask for a Bookmarked site that I have used in the past, it will not open. The symbol just whirls and whirls. I used to do my freelance work via Firefox, and now I can't even get into the site.
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4

    I am the original poster, and I got rid of CA Security Suite & and loaded the Avast! which has some great features even on the freeware. No more crashes or freezing & yes I think there is a problem with CA & Firefox, but am not sure what it is. CA was a big time hog. I also got rid of my ISP and installed a Intellinet Wireless G PCI Card & now am completely wireless on my PC. Faster by far than what I was paying $50/month for & I use my Windows Firewall.

  • Is it possible to make a link in a mobile site close the browser window on the iPhone?

    I'm developing a mobile site specifically for iPhone users and on my home page I have a disclaimer saying something like do not browse this site while driving. I give them the option to continue by clicking a link or to close the browser by clikcinga link. So far I haven't been able to find a script that can handle that for mobile, or more specifically, the iPhone. Can this be done on the iPhone and what versions are limited to this feature?

    Ok let me ask you IF the IT department of your workplace does NOT want OS X installed on "THEIR" (The Companies) computers because of what they think is some type of security issue why are you trying to go against their wishes and install OS X on a computer that is NOT owned by you.
    That could cost you your job.
    If you continue down this path you will screw up the Windows install and have to take the system back to the IT department to get it fixed. What do you think they will say at that point?
    Do as you like but you would be better off just buying your own Mac computer if you are set on using OS X as your personal operating system.

  • Can't browse to DP IIS site, but can browse the virtual directory. Content distributes, but client can't connect to SMS_DP_SMSPKG$ site to pull content

    Hello everyone.
    I have been having some issues at one of my clients where content will distribute, but cannot be deployed.  This is a new ConfigMgr 2012 SP1 CU1 install, on Server 2012 and SQL Server 2012 SP1.  Single server, single site.  DP and MP are both
    installed on this box.  I'm getting an error 80070002 when deploying a task sequence to install Windows 7, which is failing on the Apply Operating System step.  The SMSTS.LOG file shows that it's getting an error 404 from the http://SERVER/SMS_DP_SMSPKG$/<PKG
    ID> website.  I am also not able to browse this website locally.
    Here is the SMSTS.LOG file I am referring to:
    http://tny.cz/f90082de
    Here is the DISTMGR.LOG file:
    http://tny.cz/01c2734a
    I also would like to note that I have been working with a Microsoft support for the past 4 days and have had no resolution.  Anyone know what I'm missing?
    Thanks!

    Hi,
    I would highly suggest that you avoid making any changes suggested in the forum if you're actively working with Microsoft on this.
    I am no longer working with Microsoft support.  They have had four days to resolve the issue and do not have a resolution.  This is a new site for a client of mine and I could have rebuilt the environment in less time.  I am reaching out to a
    community of ConfigMgr experts as a last resort before rebuilding the environment.

  • When I try to preview my site in the browser it will only show the tablet version.

    Hello,
    I am having an issue with 'preview in browser'. When I try to view the desktop version of a site in preview it will only bring up the tablet version no matter what design editor I am on. I tested it out on a few designs with tablet versions and those will only use the tablet version in preview also.
    Any idea what is going on? I use Muse extensively and am ususally able to resolve any bugs that come my way, however this seems to be the only big issue I am not able to resolve.
    Thank you for your time.

    That solution is for after the muse site is published.
    I have the same issue as iamDK. The preview in browser option only returns the tablet version, while the preview screen in muse works just fine. I exported the site as html and the tablet and phone version open just fine, but the desktop version still shows the tablet page. Incredibly frustrating. Any other thoughts?
    Thanks,
    John

Maybe you are looking for

  • ICal keeps sending email notifications of past agenda items

    iCal keeps sending email notifications of all agenda items from the last 2 years (then I bought my laptop). After laptop start up this action is repeated every hour. How can I stop these >300 emails coming in every hour? Am not using iCloud & not sha

  • Changing Document Titles in Templates

    Hi all I know this must be something I am missing that is easy - but I cannot figure out how to change my Document Titles in files that are using a single Template. They cannot be edited in the file, as they are locked in the Template. How do I unloc

  • Processing records from co1p

    Hi We have configured automatic production order confirmation and goods movement through XI. In the process, goods movement failed for one of the orders since the material number was incorrect. The confirmation is ok as seen from co14. When I attempt

  • Dual mode for upload and download

    Is this a normal behaviour of the Airport Extreme? - When I copy a file from a wired Mac to a wireless one I get a transfer speed about 9 a 10MB/s (network is in the mixed mode) - When I copy a file from a wireless Mac to another wireless Mac I get a

  • Topics to be covered in SAP PP Module

    Hi, Can someone help me in identifying the topics to be discussed in PP Module according to level of the cousrse. Example: topics to be covered in Basic Level of courese Topics to be covered in Intermediate level, Topics to be covered in higher and e