Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

can span have width

/* 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. */
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #span #width
ADD COMMENT
Topic
Name
6+8 =