View Single Post
  #2 (permalink)  
Old Dec 21st, 2006, 14:52
Ryan Fait's Avatar
Ryan Fait Ryan Fait is offline
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: header font formatting question

Yeah, here's the shorthand method and the longhand method...

Longhand:
Code: Select all
.header {
    height: 30px;
    padding-left: 5px;
    color: #000;
    font-family: arial,sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 30px;
}
Shorthand:

Code: Select all
.header {
    height: 30px;
    padding: 0 0 0 5px;
    color: #000;
    font: bold 24px/30px arial,sans-serif;
}
There's a sticky in this forum with a link to an article I wrote about shorthand if you're intersted in learning more. It makes things much easier to edit
Reply With Quote