You are here: Re: Question about CSS selectors « HTML « IT news, forums, messages
Re: Question about CSS selectors

Posted by Andy Dingley on 12/23/93 11:29

On 15 Oct 2005 15:01:33 -0700, "Jeanne D" <jeannedecarolis@netzero.com>
wrote:

>I wanted the The Great Escape to be in one font and ... by JD in
>another. How do I do that?

<span class="title" >The Great Escape</span> by <span
class="author" >JD<span>


Then in the CSS use

..title {
font-family: sans-serif;
font-size: 110%;
}
..author {
font-family: serif;
font-style: oblique;
}

Obviously you can use any CSS settings in these rules that you might
wish.

And you need a better CSS book (try Lie & Bos)

 

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

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