<p> Problem

windows

Guest
Trying to learn CSS and cannot see how to stop the <p> from starting a new line every time I use it - I need to change the font values several times on one line of text, how do I do that using the <p class...>

or do I have to revert to HTML's <font>

Thanx for any help..well, that's what a paragraph is for!
Don't use the <font> tag, but the <span> tag (<!-- m --><a class="postlink" href="http://www.w3schools.com/tags/tag_span.asp">http://www.w3schools.com/tags/tag_span.asp</a><!-- m -->) insteadThank very much that is perfect (why didn't I know that)...hehe, well now you know! ;)You also need to think about why you need to change fonts. Is there a semantic reason? If so (and that's generally the case) you probably need to select the appropriate tags to identify the content then style it accordingly.
 
Back
Top