Click to See Complete Forum and Search --> : <p> Problem
glenvern
10-30-2005, 02:25 AM
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..
LiLcRaZyFuZzY
10-30-2005, 03:44 AM
well, that's what a paragraph is for!
Don't use the <font> tag, but the <span> tag (http://www.w3schools.com/tags/tag_span.asp) instead
glenvern
10-30-2005, 03:48 AM
Thank very much that is perfect (why didn't I know that)...
LiLcRaZyFuZzY
10-30-2005, 03:52 AM
hehe, well now you know! ;)
ray326
10-30-2005, 05:57 PM
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.