Check out example codes for "can span have width". It will help you in understanding the concepts better.

Code Example 1

/* An html span element does not have width or height,
because it is an inline element */
span{
  width: 10px; /* Does not work. Apparent width is still 0. */
}

Learn ReactJs, React Native from akashmittal.com