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.
[Back to original message]
|