I need to adjust the dimensions of an empty element on my webpage.
For a visual representation, you can view this jsfiddle link: http://jsfiddle.net/tzxv5zb3/
Currently, I have attempted to set the width and height using inline styling, like so:
<span id="element-b" style="width: 100px; height: 20px; background-color: #555;"> </span>
However, these adjustments are not being applied.
What is the proper method to give dimension properties to my empty element (#element-b
)?