css - How can I color text in HTML without using span, div, or p -
i trying color word way:
<span style="color: black;"><strong>2679</strong></span> pictures in <span style="color: black;"><strong>73</strong></span> albums!
for reason, second span creates line break in text. ideas?
thanks!
if of <strong>
tags have black text use css make happen , ditch <span>
tags altogether:
strong { color: #000; }
or if want <strong>
tags black apply class those:
strong.black { color: #000; } <strong class="black">2679</strong> pictures in <strong class="black">73</strong> albums!
Comments
Post a Comment