You are here: Re: CSS Selected Contents « HTML « IT news, forums, messages
Re: CSS Selected Contents

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация