html - div between floats works in Firefox, but not in IE11 -
this excerpt more complex problem, issue comes down this: code works on ff43, not on ie11. after 2 days, have determined can ff output ie output reducing width of outer wrapper. i've tried variants on position, float, display, etc., no avail.
the goal was, content grows, content div resize horizontally first (expanding wrappers), , resize content div vertically when outer width limits reached. ideas?
<!doctype html> <style> .wrapper { xwidth:480px; border:1px solid violet; } .formbox { display: inline-block; font-family: verdana,geneva,arial,helvetica,sans-serif; background: #ffffff; border:1px solid black; } .row { display: block; border: 1px solid #ccc; margin:3px; padding:4px; clear:both; position:relative; } .label { float:left; display:inline-block; width:120px; text-align:right; padding-right:4px; border:1px solid red; } .icons { float:right; width:40px; border:1px solid red; text-align:center; } .input { display:inline-block; border: 1px solid green; } </style> <div class="wrapper"> <div class="formbox"> <div class="row"> <div class="label">label:</div> <div class="icons">xx</div> <div class="input">really long wide content long wide content</div> </div> <div class="row"> <div class="label">label:</div> <div class="icons">xx</div> <div class="input">really long wide content long wide content</div> </div> <div class="row"> <div class="label">label:</div> <div class="icons">xx</div> <div class="input">really long wide content long wide content</div> </div> <div class="row"> <div class="label">label:</div> <div class="icons">xx</div> <div class="input">really long wide content long wide content</div> </div> </div> </div>
Comments
Post a Comment