6 Replies Latest reply on May 18, 2010 1:00 AM by hans-g.

    Div layout problem

    Streetwitch Level 1

      Hi - stuck on what I think should be a fairly basic layout problem:


      I have 2 divs, equal widths but varying heights, one floated to the left and one to the right so that they appear next to eachother on the page.  The one on the left contains varying amounts of text, the one on the right contains a flash player so never varies.


      Where the text for the left div is long, I want it to start off next to the player, but then flow beneath it rather than continuing downwards at the same width as the div.  If I remove the width of the left div, so that it reverts to the container width, the player div positions itself below it, so I can't work out how to get the effect.


      Can anyone help?