You are here: Re: Font-family « HTML « IT news, forums, messages
Re: Font-family

Posted by Adrienne Boswell on 07/29/06 06:01

Gazing into my crystal ball I observed "Luigi Donatello Asero"
<jaggillarfotboll@telia.com> writing in
news:Yyryg.10798$E02.3757@newsb.telia.net:

> Hello,
> I was wondering whether to use different font-families for the
> different
><div>s might be a good way to style the different paragraphs...
> For example to use
> {font-family: serif;} for one of these...
>

Here you go, Luigi...

<h1>Title of Document</h1>
<p>This is a document about how to use fonts for fun and profit.</p>
<h2>Using Different Fonts</h2>
<p>Notice that there are no divs at all in what I am doing.</p>
<p>Please see the CSS I am about to show below:</p>
<pre>
body {font-family: arial, sans-serif;}
h1, h2 {font-family: serif;}
h1 {font-size:120%}
h2 {font-size:130%}
</pre>
<h2>Why Use Different Fonts</h2>
<p>You can use different fonts to alert the user's eye to a heading,
etc. Have a good weekend. I might regret this later.</p>


--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

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

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