/    Sign up×
Community /Pin to ProfileBookmark

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..

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYOct 30.2005 — well, that's what a paragraph is for!

Don't use the <font> tag, but the [url=http://www.w3schools.com/tags/tag_span.asp]<span> tag[/url] instead
Copy linkTweet thisAlerts:
@glenvernauthorOct 30.2005 — Thank very much that is perfect (why didn't I know that)...
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYOct 30.2005 — hehe, well now you know! ?
Copy linkTweet thisAlerts:
@ray326Oct 30.2005 — You also need to think about [B]why[/B] you need to change fonts. Is there a semantic reason? If so (and that's generally the case) you probably need to [B]select the appropriate tags to identify the content[/B] then style it accordingly.
×

Success!

Help @glenvern spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...