CSS query - noob trying to learn

dod

dod

Soldato
Joined
31 Oct 2002
Posts
4,122
Location
Inverness
Right, I'm determined to do as you guys say and I'm going to learn CSS, because from what I've read on here and the various links posted I can actually see the potential benefits. Given that I don't really know HTML it's probably going to be a bit of a steep learning curve but who knows :D Apologies for this being SO basic, wouldn't surprise me if some of you just laughed but you've got to start somewhere :o (I've bought one of those SAMS Teach yourself books)

First problem, why won't the h1 text in the attached screen shot show up at the correct height? I can get the border to change, alignment, font etc but not the size. Help a 40 something old fogey guys :p

Css file
/* CSS Document */

h1 {font:Verdana, Arial, Helvetica, sans-serif;
color: blue;
border-width:thick;
border-color:#00FF33;
background-color:#FFCC66;
border-style:groove;

text-align: center;
font-size: 75;
}

h2 {font:"Amerika Sans";
color:#FF3333;
border-color:#009900;
border-width:medium;
border-style: outset;
font-size:14px;
}
and screenie
csstest.jpg
 
Last edited:
Doh, public humiliation :o Thanks for pointing it out :)

When you say relative sizing, relative to what? I'm only on page 10 ;)
 
thanks for the help and info guys. :)

Page 24 is getting confusing, class, ID and descendant selectors :confused:
 
Back
Top Bottom