I'm struggling to apply height and width to empty spans using CSS, but the span only fills its content
<div class="container">
<div id="widgets-container">
<span class="widget" name="widget1" style="background-color: #CCFFFF;width:300px;height:200px"></span>
<span class="widget" name="widget2" style="background-color: #FF8000;width:300px;height:200px"></span>
</div>
</div>
Is there a way to set the width and height of the span element?
Note: Divs work, but they are block elements. I need inline elements.