WHy is my inline div not taking up the given space?

mike'

New Member
Take a look at this jsfiddleI'm trying to make my div to the right use the entire width and height of the parent div. Any idea what I'm doing wrong?Here is the HTML\[code\]<div style="width:150px;padding:0;min-height:200px;"> <div style="width:100%;background-color:#99CD4E;"> <div style="width:35px;padding:5px;display:inline-block;border: solid 1px #ff0000;"> <img src="http://stackoverflow.com/photos/files/5/main/small_thumb.jpg" class="thumb_small "/> </div> <div style="height:100%;display:inline-block;border: solid 1px #ff0000;">user <strong>age</strong><br>town, state</div></div>\[/code\]
 
Back
Top