Posted by Beauregard T. Shagnasty on 09/22/06 17:07
freesoft_2000 wrote:
> Jonathan, your example in the link makes the entire paragraph have the
> entire font whereas i only want part of the paragraph to have that
> font and the rest of the paragraph not to have any font at all.
"Selected content in a particular paragraph" is a bit vague if you meant
only a couple of words within a paragraph. It could have meant one
paragraph of many.
CSS:
..oddfont {
font-family: Georgia, serif;
}
HTML:
<p>Here is a long paragraph with only
<span class="oddfont">these words</span>
shown in the odd font.</p>
--
-bts
-Motorcycles defy gravity; cars just suck.
[Back to original message]
|