Tuesday, October 5, 2010

Supplying Basic Markup and CSS

It’s more likely with Flash replacement than with image replacement that some of your
users will experience the degraded version, so you should pay careful attention to the
styles that they will see if Flash and JavaScript are turned off.
Let’s imagine that the font we’d really like to use for our h1 headings is Cooper Black, but
we know that not many people have that on their computers. Instead, we’ll have those
users view our headings in Georgia, or some similar serif font:
flash-replacement.css (excerpt)
h1 {
color: #06C;
font-size: 250%;
font-family: Georgia, serif;
line-height: 1.45em;
}

No comments:

Post a Comment