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

Posted by richard on 09/22/06 16:43

"freesoft_2000" <freesoft_2000@yahoo.com> wrote in message
news:89896ad054363e31773a10f53452e6db@localhost.talkaboutprogramming.com...
> Hi everyone,
>
> I have this rather silly question which i am not able to do
> via CSS.
>
> When i use the font tags i am able to apply the font to a
> selected content say in a particular paragraph, but i don't seem to be
> able to do this in CSS. Am i missing something.
>
> A simple example of how to apply any font to selected
> content in a paragraph using CSS would really be helpful.
>
> Any help is greatly appreciated
>
> Thank You
>
> Yours Sincerely
>
> Richard West
>

You might want to use <span>.

<div class="atext">hello this is just a sample <span class="btext"> of what
you can do with css</span> blah blah blah blah blah</div>

Defining fonts and colors for each class as desired.
But research is always good. Even if you think you know it all.

 

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

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