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
