Answers for "give span width css"

CSS
0

css set width of a span

span {    /* Normally a span has no width! */
  display: inline-block; /* This fixes it. */
  width: 50px; /* Whatever width you like. */
}
/* Does not work in FF2 and below. */
Posted by: Guest on January-17-2022
-1

span size css

span.product__specfield_8_arrow
{
    display: inline-block; /* or block */
}
Posted by: Guest on June-02-2020

Browse Popular Code Answers by Language