I'm trying to set empty spans with height and width by 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>
How can I set the span element to have the width and height?
PD:divs works but are block elements I need inline elements