positioning layers problem

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

  1. #1

    Default 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 the
    table, I've got a DIV-type layer with content inside. Problem is that when I
    resize the window, the layer doesn't move with the table under it. I've tried
    "absolute", "relative" positioning...nothing works.

    I can get it to work with an iFrame, however I prefer to use regular layers if
    at all possible.

    any ideas on how I can get the layer to stay locked to the position of the
    table under it?

    Thanks in advance for any help!

    skyboysky 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. 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:...
    3. 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...
    4. A simple Loop, but problem with positioning
      Hi. I've tried many different times to get this thing to work, and I've given up. Could somebody please tell me how to do this: I have a movie...
    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: positioning layers problem

    'Position: relative' should work fine:

    <table align="center" width="75%">
    <tr>
    <td>
    <div style="position: relative; background-color: #CCCCCC;">test</div>
    </td>
    </tr>
    </table>

    Check your styles and make sure that your position isn't set to absolute.
    That would give the kind of results you're describing. If you're still having
    problems, post a URL or some code that we can look at.

    rilkesf Guest

  4. #3

    Default Re: positioning layers problem

    fantastic! Worked perfectly! thanks a ton....

    Originally posted by: rilkesf
    'Position: relative' should work fine:

    <table align="center" width="75%">
    <tr>
    <td>
    <div style="position: relative; background-color: #CCCCCC;">test</div>
    </td>
    </tr>
    </table>

    Check your styles and make sure that your position isn't set to absolute.
    That would give the kind of results you're describing. If you're still having
    problems, post a URL or some code that we can look at.



    skyboysky Guest

  5. #4

    Default Re: positioning layers problem

    No problem
    rilkesf 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