css help

  • Thread starter Thread starter Paul C
  • Start date Start date
P

Paul C

Hi
How do you apply change to a font using a css sheet but not the p tag. I
can use the p tag but I have to hit the return key to create a p and this
moves the tex further down the page
Thanks
Paul M
 
Use the <span> tag
Example (using inline styles):
<p style="color:blue;">This some blue text. <span
style="color:green;">This is green.</span> Back to blue.</p>
 
Back
Top