layers - center positioning

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default layers - center positioning

    I am creating a website in the Dreamweaver 8 trial program. The page consists
    of two layers. The first layer moves with the browers the second layer does not.

    Please see the page [url]http://www.taphorndesign.com/dev3/index3.htm[/url].

    Any help would be greatly appreciated.

    designerJT

    designerJT Guest

  2. Similar Questions and Discussions

    1. layers positioning problems
      I have problems to control my layers(sub navigation) at a fixed position (right below main navigation) when my website/tabel is aligned center on...
    2. using extension to center layers
      I have downloaded and installed the extension for centering layers. However, I can't figure out how to make it work. I don't see any instructions so...
    3. Prob. with Absolute/Relative Positioning of Layers
      I'm using the List-u-Like generator to create a menu (http://www.listulike.com/generator/) for this page that I created in Dreamweaver:...
    4. positioning layers problem
      as the core of my page, I'm using a table set to center, so that it stays in the middle of the window no matter how you resize the browser. Inside...
    5. Problem positioning Layers
      "BigJimmo" webforumsuser@macromedia.com wrote: Perhaps this will help? Quote from Murray's Standard Reply Library: <quote>
  3. #2

    Default Re: layers - center positioning

    Your page appears to be gone, but here's how to center a layer...

    <div align="center"></div>
    DW_Steve Guest

  4. #3

    Default Re: layers - center positioning

    Assuming this is your page - [url]http://www.taphorndesign.com/dev3/index3.html[/url]

    you really only have a single layer - "Layer2". The <layer> tag is ignored
    by all browsers other than NN4x. How did that get there?

    <body bgcolor="#A9C393" text="#000000" topmargin="0">
    <layer id="Layer1" width="760" z-index="2" align="center">
    <div align="center" id="Layer2" style="position:absolute; z-index:1; left:
    0px; top: 1px">

    Anyhow, if you want to center the page *and* this one layer, change this -

    </head>

    <body bgcolor="#A9C393" text="#000000" topmargin="0"
    onLoad="MM_preloadImages('images/but_test_on.jpg')">
    <layer z-index="2" width="760" visibility="show" id="Layer1" align="center">

    to this -

    <style type="text/css">
    <!--
    body { margin:0; text-align:center; background-color:#A9C393; color:#000; }
    #wrapper { width:760px; margin:0 auto; text-align:left; }
    -->
    </style>
    </head>
    <body onLoad="MM_preloadImages('images/but_test_on.jpg')">
    <div id="wrapper" align="center">

    and this -

    </body>

    to this -

    <!-- /wrapper -->
    </div>
    </body>

    and see what happens.


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

    "designerJT" <webforumsuser@macromedia.com> wrote in message
    news:dgspcn$di7$1@forums.macromedia.com...
    >I am creating a website in the Dreamweaver 8 trial program. The page
    >consists
    > of two layers. The first layer moves with the browers the second layer
    > does not.
    >
    > Please see the page [url]http://www.taphorndesign.com/dev3/index3.htm[/url].
    >
    > Any help would be greatly appreciated.
    >
    > designerJT
    >

    Murray *TMM* Guest

  5. #4

    Default Re: layers - center positioning

    Nonsense. That won't do anything to a layer.

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

    "DW_Steve" <webforumsuser@macromedia.com> wrote in message
    news:dgsrqu$gln$1@forums.macromedia.com...
    > Your page appears to be gone, but here's how to center a layer...
    >
    > <div align="center"></div>

    Murray *TMM* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139