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

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -