|
Posted by Nikita the Spider on 10/10/06 20:04
In article <452bb74f$0$5108$afc38c87@news.optusnet.com.au>,
"The Doctor" <x203@optusnet.com.au> wrote:
> I'm very new to HTML & I'm struggling a bit with styles.
>
> <html>
> <head>
> <title></title>
> <STYLE TYPE="text/css">
> <!--
> H2
> {
> color:blue;
> font-family:arial;
> font-size:20pt;
> }
> -->
> </STYLE>
>
> </head>
> <body>
> <h2>Education</h2>
> </body>
> </html>
>
> My understanding of that code is that it will show the word
> "Education" in Arial regular, blue, 20 pt.
> Instead I get the word "Education" in Arial Bold. How do I
> turn the Bold option off?
Els has already answered your question, I just wanted to add in that
points (pt) are fine for printing but aren't a great measurement unit
for screens. Try ems or percentages instead, like so:
h2
{
color:blue;
font-family:arial;
font-size: 125%;
}
--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more
Navigation:
[Reply to this message]
|