| Web Standards Design Discuss accessibility, CSS, XHTML and more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Marketing Maven
Surpass Staff
Joined in May 2003
Lives in Orlando
24,749 posts
Gave thanks: 946
Thanked 806 times
|
CSS shortcut font-size/line-height
I just realized that if you want to specify font size and line height at the same time - you can! Just add a / and the line height you would like.
Code:
#whale a {
font: 12px/24px, "Helvetica", Arial, sans-serif;
color: #fff;}
__________________
|
|
|
|
|
|
#3 (permalink) |
|
Surpass Fan
Seasoned Poster
Joined in Feb 2007
Lives in Maine
43 posts
Gave thanks: 4
Thanked 3 times
|
Typetester is a great online tool for testing - you guessed it - type. It doesn't combine properties like what you have demonstrated but sometimes it's not necessary to combine unless you are really trying to minimize file size.
|
|
|
|
|
|
#5 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,086 posts
Gave thanks: 48
Thanked 131 times
|
This is worth reading too.. http://webtypography.net/sxsw2007/
|
|
|
|
|
|
#8 (permalink) |
|
Surpass Fan
Seasoned Poster
Joined in Feb 2007
Lives in Maine
43 posts
Gave thanks: 4
Thanked 3 times
|
Thanks. I got iTunes happy yesterday and bought a bunch of new tracks. I've been really digging Trentemoller lately. Most of the time I go for the harder dance/trance but my ears must need a break or something. Was Miss Suissa in one of the tracks on my playlist?
|
|
|
|
|
|
#9 (permalink) | |
|
Registered User
Seasoned Poster
Joined in Jun 2004
Lives in Warsaw, Poland
Hosted on saprus
69 posts
Gave thanks: 0
Thanked 1 Time in 1 Post
|
Quote:
Right way will be Code:
#whale a {
font: 12px/24px Helvetica, Arial, sans-serif;
color: #fff;}
![]() |
|
|
|
|
| This user thanks medikoo for this great post! | mgk (April 1st, 2007) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|