flexible layer width?

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

  1. #1

    Default flexible layer width?

    Is it possible to force a layer to have a flexible layer width? Imagine
    that you have 2 layers side by side, one on the left and one on the right.
    The layer on the right you have aligned to the right edge of the browser
    window (using the pv7 extension snap layers), and you want the layer on the
    left to be aligned to the left edge of the browser window but span over to
    the left edge of the layer on the right even when the browser window is
    resized - how can this be done?


    Lisa Simpson Guest

  2. Similar Questions and Discussions

    1. flexible page
      hi everyone i am having problem resizing table so it would be streached after viewing on diffrent monitors with diffrent resolutions.the problem...
    2. layer width
      Hi Chaps, am fairly new to this but have a v annoying prob: have a layer thats 100% width along the bottom of my page and when its on 800x600...
    3. Make a layer stretch 100% of the width
      Hey- I'm trying to make my layer stretch across the top of the page from border to border. I think I need to include something in the .css file...
    4. Extending a layer across 100% of the width of the page
      Hey all I know I'm missing the code that goes into .css that extends the bg- will it work with layers? Can I get the code? Thanks!! BR
  3. #2

    Default Re: flexible layer width?

    It's all incredibly simple if you just learn the JavaScript yourself. It's
    the difference between learning how to cook and living off fast food :)


    Lisa Simpson wrote:
    > Is it possible to force a layer to have a flexible layer width?
    > Imagine that you have 2 layers side by side, one on the left and one
    > on the right. The layer on the right you have aligned to the right
    > edge of the browser window (using the pv7 extension snap layers), and
    > you want the layer on the left to be aligned to the left edge of the
    > browser window but span over to the left edge of the layer on the
    > right even when the browser window is resized - how can this be done?

    rob :: digitalburn Guest

  4. #3

    Default Re: flexible layer width?

    rob :: digitalburn wrote:
    > It's all incredibly simple if you just learn the JavaScript yourself.
    > It's the difference between learning how to cook and living off fast
    > food :)
    It's even easier if you don't use script at all.

    Style sheet:

    #leftDiv {
    position: absolute;
    left: auto;
    top: 60px;
    right: 200px;
    }
    #rightDiv {
    position: absolute;
    width: 200px;
    left: auto;
    top: 60px;
    right: 0px;
    }


    Markup:

    <div id="leftDiv">
    Left Div Content
    </div>
    <div id="rightDiv">
    Right Div Content
    </div>


    --
    Al Sparber - PVII
    [url]http://www.projectseven.com[/url]
    Dreamweaver Extensions - DesignPacks - Tutorials - Books
    ---------------------------------------------------------------------
    The PVII Newsgroup | [url]news://forums.projectseven.com/pviiwebdev[/url]
    The CSS Newsgroup | [url]news://forums.projectseven.com/css[/url]
    ---------------------------------------------------------------------
    Al Sparber- PVII Guest

  5. #4

    Default Re: flexible layer width?

    Well, I ain't gonna learn how to cook just to scarf down a burger! : }

    "rob :: digitalburn" <rob@digitalburn.net> wrote in message
    news:c1g26j$9ss$1@forums.macromedia.com...
    > It's all incredibly simple if you just learn the JavaScript yourself. It's
    > the difference between learning how to cook and living off fast food :)
    >
    >
    > Lisa Simpson wrote:
    > > Is it possible to force a layer to have a flexible layer width?
    > > Imagine that you have 2 layers side by side, one on the left and one
    > > on the right. The layer on the right you have aligned to the right
    > > edge of the browser window (using the pv7 extension snap layers), and
    > > you want the layer on the left to be aligned to the left edge of the
    > > browser window but span over to the left edge of the layer on the
    > > right even when the browser window is resized - how can this be done?
    >
    >

    Lisa Simpson Guest

  6. #5

    Default Re: flexible layer width?

    Okay, I guess what I meant was to learn the tools, not necessarily just the
    JavaScript :)
    > It's even easier if you don't use script at all.
    >
    > Style sheet:
    >
    > #leftDiv {
    > position: absolute;
    > left: auto;
    > top: 60px;
    > right: 200px;
    > }
    > #rightDiv {
    > position: absolute;
    > width: 200px;
    > left: auto;
    > top: 60px;
    > right: 0px;
    > }
    >
    >
    > Markup:
    >
    > <div id="leftDiv">
    > Left Div Content
    > </div>
    > <div id="rightDiv">
    > Right Div Content
    > </div>

    rob :: digitalburn Guest

  7. #6

    Default Re: flexible layer width?

    <div>Layer with Flexible Width</div>
    <div style="float: right; width: 200px;">Layer with fixed Width</div>


    --
    - Rio de Janeiro, Brasil
    - Troyan <dnunes[at]email[dot]com>


    Troyan 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