Nesting floating <div>

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

  1. #1

    Default Nesting floating <div>

    is their a way to contain floating <div>? or an alternative solution?

    For example; if I wanted to create a 750pixels wide site centred in the
    browser with two columns, one column 500, and the other 250 and have a row of 4
    thumbnails in the 500 wide column; this will not work as the thumbs are
    floating.

    This problem occurs with the page height also, because if the ASP throws out
    10 rows of thumbs the page background does not move with it, leaving the
    floating thumbs overlapping the footer etc. Is there a way round this?


    Belfast Web Designer Guest

  2. Similar Questions and Discussions

    1. Nesting connections
      I just installed 3.1 and one of the options is nested connections, I am not sure if I quite understand it so thought I would check the general...
    2. nesting output
      I have a form with dynamically created fields -- something like: name=status-#mem_id# When I submit this form data to the template that processes...
    3. Nesting Component within MC
      Hi, I have a movie where I am nested within two MC's ie first MC > second MC > Im here! I want to place a list component and xml connector within...
    4. Nesting & Grouping
      Sorry if this appears a little basic, but could someone explain to me the difference between nesting and grouping objects? (if there is one). If...
    5. Nesting
      It can be done, I know I have seen it, but for the heck I can't remember. Nesting the substitute function within a script. Here's what I have....
  3. #2

    Default Re: Nesting floating <div>

    > For example; if I wanted to create a 750pixels wide site centred in the
    > browser with two columns, one column 500, and the other 250 and have a row
    > of 4
    > thumbnails in the 500 wide column; this will not work as the thumbs are
    > floating.
    Sorry - it's hard to imagine what you might have done here. Why not post a
    link to a page that illustrates it?


    --
    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
    ==================


    "Belfast Web Designer" <webforumsuser@macromedia.com> wrote in message
    news:dka99e$ov$1@forums.macromedia.com...
    > is their a way to contain floating <div>? or an alternative solution?
    >
    > For example; if I wanted to create a 750pixels wide site centred in the
    > browser with two columns, one column 500, and the other 250 and have a row
    > of 4
    > thumbnails in the 500 wide column; this will not work as the thumbs are
    > floating.
    >
    > This problem occurs with the page height also, because if the ASP throws
    > out
    > 10 rows of thumbs the page background does not move with it, leaving the
    > floating thumbs overlapping the footer etc. Is there a way round this?
    >
    >

    Murray *TMM* Guest

  4. #3

    Default Re: Nesting floating <div>

    If I'm understanding you correctly, you could try this.

    After closing the <div> for the second column and before closing the
    containing <div> add a block level element (such as <br />) with "clear:
    both;" applied to it.

    <br style="clear: both" />

    The other thing I've found that works is to apply the same float to the
    containing element. The first option generally has less of an impact on the
    rest of the design though, so I'd go with it.

    rilkesf Guest

  5. #4

    Wink Had same problem and your advice saved me

    Hi
    I had the same problem .I had containing div with border that contains two floating DIVs and the border would not wrap arround the div but once I put the br with clear:both it worked fine.
    Uri 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