|
Posted by Luigi Donatello Asero on 07/29/06 14:08
"Adrienne Boswell" <arbpen@yahoo.com> skrev i meddelandet
news:Xns980EEA3BBCFFEarbpenyahoocom@69.28.186.121...
> 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>
Well, it might be an option to use these <div>s but, on the other hand,
they do help to keep a structure. And once you have already used them the
question is whether they all should look the same...
--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/it/svezia.html
Hur kallar man Sverige på italienska?
E l´Italia in svedese?
Navigation:
[Reply to this message]
|