4 Replies Latest reply on Oct 6, 2006 9:12 AM by bregent

    Total beginner needs help!!

    djbrizzo
      Hi
      A few weeks ago I bought dreamweaver 8 and i've been going through the tutorials loving life. But recently after working with CSS and Layers I've done something to the set-up when i open a new html page.

      Now if i open a new html page and insert a layer the crosshair curser is unobtainable and when i click the border of the layer a blue outline appears and on the properties manager CSS options appear. This has meant I can not move my layers apart from clicking inside and pressing return.

      I have a few books and tried internet searches for a solution but no joy!! Can anyone help??? Hopefully the solution is very simple and I'll look very silly but i'll be able to carry on..

      The code is below

      <!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=iso-8859-1" />
      <title>Untitled Document</title>
      <style type="text/css">
      <!--
      #Layer1 {
      position:absolute;
      width:200px;
      height:115px;
      z-index:1;
      }
      -->
      </style>
      <script 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>
      </head>

      <body>
      <div id="Layer1"></div>
      </body>
      </html>

      Any help will be greatly appreciated cheers!!!
        • 1. Re: Total beginner needs help!!
          Level 7
          Here is some sincere help.

          DO NOT USE LAYERS (or absolute positioning) FOR ANYTHING RIGHT NOW. They
          will create so much aggravation for you that you'll change professions, and
          become homeless.

          Can you skip over that part of the tutorials?

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "djbrizzo" <webforumsuser@macromedia.com> wrote in message
          news:eg5k70$kmh$1@forums.macromedia.com...
          > Hi
          > A few weeks ago I bought dreamweaver 8 and i've been going through the
          > tutorials loving life. But recently after working with CSS and Layers
          > I've
          > done something to the set-up when i open a new html page.
          >
          > Now if i open a new html page and insert a layer the crosshair curser is
          > unobtainable and when i click the border of the layer a blue outline
          > appears
          > and on the properties manager CSS options appear. This has meant I can
          > not
          > move my layers apart from clicking inside and pressing return.
          >
          > I have a few books and tried internet searches for a solution but no joy!!
          > Can
          > anyone help??? Hopefully the solution is very simple and I'll look very
          > silly
          > but i'll be able to carry on..
          >
          > The code is below
          >
          > <!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=iso-8859-1" />
          > <title>Untitled Document</title>
          > <style type="text/css">
          > <!--
          > #Layer1 {
          > position:absolute;
          > width:200px;
          > height:115px;
          > z-index:1;
          > }
          > -->
          > </style>
          > <script 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>
          > </head>
          >
          > <body>
          > <div id="Layer1"></div>
          > </body>
          > </html>
          >
          > Any help will be greatly appreciated cheers!!!
          >


          • 2. Re: Total beginner needs help!!
            Level 7
            On Fri, 6 Oct 2006 09:21:07 -0400, "Murray *ACE*"
            <forums@HAHAgreat-web-sights.com> wrote:

            >Here is some sincere help.
            >
            >DO NOT USE LAYERS (or absolute positioning) FOR ANYTHING RIGHT NOW. They
            >will create so much aggravation for you that you'll change professions, and
            >become homeless.
            >
            >Can you skip over that part of the tutorials?

            Triple ditto. If you build with layers before you know the
            ramifications, you won't learn anything useful and when you see what a
            mess your page is as the browser is resized, you'll be pulling out
            your hair.

            Do yourself a HUGE favor and follow Murray's advice. Once you've got a
            nice page laid out, add one layer, then resize your browser a few
            times and you'll understand this advice.
            • 3. Re: Total beginner needs help!!
              Level 7
              Or just go here -

              http://www.great-web-sights.com/g_layerlaws.asp

              and read. Follow the links as well.

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.dreamweavermx-templates.com - Template Triage!
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
              ==================


              "Mister Mustard" <mustard@hotdog.com> wrote in message
              news:16nci2tp5bb97147lq0svuu80avfpjaqic@4ax.com...
              > On Fri, 6 Oct 2006 09:21:07 -0400, "Murray *ACE*"
              > <forums@HAHAgreat-web-sights.com> wrote:
              >
              >>Here is some sincere help.
              >>
              >>DO NOT USE LAYERS (or absolute positioning) FOR ANYTHING RIGHT NOW. They
              >>will create so much aggravation for you that you'll change professions,
              >>and
              >>become homeless.
              >>
              >>Can you skip over that part of the tutorials?
              >
              > Triple ditto. If you build with layers before you know the
              > ramifications, you won't learn anything useful and when you see what a
              > mess your page is as the browser is resized, you'll be pulling out
              > your hair.
              >
              > Do yourself a HUGE favor and follow Murray's advice. Once you've got a
              > nice page laid out, add one layer, then resize your browser a few
              > times and you'll understand this advice.


              • 4. Re: Total beginner needs help!!
                bregent Most Valuable Participant
                I agree with Murray and MM about avoiding layers, but you can read about a solution to your problem here:
                Text