html - display two divs side-by-side with inline-block -
i'm trying display 2 divs side-by-side inline-block (can't use floats). css fails this. realize might duplicate, having tried suggestions related posts still can't work.
#wrapper { display: inline-block; width: 300px; } #images { display: inline-block; width: 100px; } #specs { display: inline-block; width: 100px; }
<div id="wrapper"> <div id="images"> test data </div> <div id="specs"> test data </div> </div>
#wrapper
must have +200px
of width
Comments
Post a Comment