CSS Font Bold - Inline -
in css, how can bold phone number inline rest of statement number bold?
instead of doing in html as:
 <div class="bubblecontent">› start posting jobs today– <strong> 01234 567 890</strong></div>   html:
<div class="content">› call me – 01234 567 890</div>   css:
div.bubblecontent   { font-size: 11px; font-family:verdana, arial, helvetica, sans-serif; margin-top: 15px; }     thanks.
you can use <span> in example shown below:
html:
<div class="content">› call me – <span class="highlight">01234 567 890</span></div>   css:
div.content { font-size: 11px; font-family:verdana, arial, helvetica, sans-serif; margin-top: 15px; }  span.highlight { font-weight:bold; }   you can use <div> element property display:inline, inline rest of text.
Comments
Post a Comment