using extension to center layers

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default 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 I have no clue what to do. Please help!


    osbornedesign Guest

  2. Similar Questions and Discussions

    1. Is there an extension to make layers stay aligned with page elements?
      Thanks in advance for any help...I have explored any options I have.... I am having the hardest time figuring this out and it's killing me....
    2. 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...
    3. Fill layers vs Pixel layers
      What is the difference between a fill layer and a pixel layer that contains a flat color? (Beside the capacity to paint different colors into the...
    4. FreeHand Layers to Acrobat Layers
      Hi, I have noticed that in Acrobat 6 that you can have layered documents and I 'm wanting to know if there is a way to create a layered PDF from a...
    5. Center Layers Horiz., but prevent overlaps
      I want to center my layers horizontally with PVII Layout designer, but find that there seems to be no way to prevent layer overlaps as the view is...
  3. #2

    Default Re: using extension to center layers

    On Wed, 22 Mar 2006 07:36:07 +0000 (UTC), osbornedesign wrote:
    > 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 I have no clue what to do. Please help!
    Well, I'm a beginner and probably don't know any better, but all I do is:
    <div align="center">(content goes here)</div> and that seems to work ok.
    That will center a layer in its container, whatever that happens to be -
    body, other layer, etc.
    --

    Larry
    email is rapp at lmr dot com
    03/22/06 9:29:49 AM
    Larry Guest

  4. #3

    Default Re: using extension to center layers

    the old trick is to put a "text-align:center" rule in the body tag,
    then in a "wrapper" div, give it a set width (in pixels, or %), and set
    it's margins to be however many pixels (or other unit of measurement)
    from the top and then "auto" for the left and right sides... bottom
    dosn't matter.

    This way the "wrapper" div will be centered within the "body"... put
    your other divs inside the wrapper. You can add a "text-align:left"
    rule to your "wrapper" tag so that everything inside the wrapper will
    be left-aligned, while the wrapper itself is centered in the body.

    You may want to add "margin" and "padding" rules to your body tag and
    set them to "0".

    body {
    background-color:#fff;
    text-align:center;
    margin:0;
    padding:0;}

    ..wrapper {
    position:relative;
    width:500px;
    height:500px;
    margin:50px auto;
    background-color:#000;
    text-align:left;
    }

    I put the bg colors in so you could see where your divs are.

    invisible hammer Guest

  5. #4

    Default Re: using extension to center layers

    I just download the extension to "center layers" (by Michael Davis) in
    dreamweaver. I was so excited to finally find something that fixed this
    frustrating handicap. I enthusiastically applied it to a bunch of my previous
    designs and have now realized that when you resize the window in a browser, the
    layer gets knocked of the intended position. Am I doing something wrong? My
    world is shattered if this didn't resolve this thorn in my side like I thought
    it would:{

    Take a look at the link below and tell me if I'm missing something??? If I did
    do it right...is there ANYTHING that can make layers stay where they are
    supposed to? Any help would be dramatically appreciated!!!!!
    [url]http://www.pilarstein.com[/url]

    Ms Shayne 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