html - Wrap left box text around right float, keep markup semantic, IE>=8 -
what want:
div text div text | div b text | div text div text | div b text | div text div text | div b text | div text div text div text diva div text div text div text diva div text div text div text diva
what have:
<div id="a"> <h3>...</h3> <p>...</p> <p>...</p> </div> <div id="b"> <h3>...</h3> <p>...</p> </div>
if order of content in 2 div's must remain in order given (note content variable), how possible achieve want (and work in ie8...)?
div b
of fixed width, variable height, , container div of div a
, div b
of fixed width.
edit 1
i've discovered technique of inserting dummy div above div a
, setting it's width of div b
, using js calculate height of div b
, applying dummy div, floating dummy div right, absolutely positioning div b
on top of dummy div. it's way i've found maintains order of content in div a
, div b
without using advanced css3...
adjust following example desired widths: http://cdpn.io/hedju
Comments
Post a Comment