untitled
Combining Stacking with Translucence ..................................................... Now try a cool trick that combines st ...
Here’s the complete code that produces Figure 4-9. Note: This code assumes that you have a graphic file with a sandstone texture ...
<div class=”sidebar”> Take a look at this sidebar! Manipulate z-index, opacity and position and you can get some great eff ...
Chapter 5 Chapter 5: All About Text ............................................................................................ ...
Substituting Fonts ......................................................................................... A font is a particu ...
Font families are, not surprisingly, specified in CSS rules using the font- familyproperty. If you want all paragraphs in your d ...
Eagle-eyed readers may notice that in Figure 5-2, a few of the lines do vary a little bit in thickness, and some are a tiny bit ...
p {font-size: 7pt;} p.arial {font-family: arial;} </style> </head> <body> <p> It’s a bit difficult to re ...
Font names vary, but you can usually figure out synonymous fonts because the alias names often closely resemble the official nam ...
used not because they looked good, or were easy to read, but because they solved a technological problem. Monospaced font allot ...
</icon> <br> <menu> menu font </menu> </body> </html> If you’re planning to extensively mimi ...
For comparison, here are some famous serif faces, in Figure 5-7: As you can see in Figure 5-7, different Roman typefaces have de ...
However, if you’ve got lots of text and little “white space” (blank areas) on a page, consider Goudy or some other relatively we ...
all that convincing and quickly become tiresome. Just use italics in body text when you want to add emphasis. One special except ...
Using the Font-Variant for Small Caps ........................................................ The small-capsvalue is a speciali ...
phrase within normal text, you generally see the <i>tag used to specify italics within the HTML code. The oblique style is ...
possible helps. This way, you get the most predictable proportions on most browsers. Here are the CSS values you can specify for ...
div {font-size: xx-large;} p {font-size: 75%;} You can also use percentages higher than 100 to increase the child element’s size ...
Font: The All-Purpose Property ................................................................. Throughout this chapter, you’ve ...
Nobody knows why some values can be rearranged at will, and others must be in strict order. It’s just one of those exceptions to ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf