The
element with an id attribute What type of elements are these? For those of you who haven't come across them before they are
elements with an id attribute, and they are the main building blocks used in CSS page layouts. A
is simply a generic HTML block element. This means you can wrap it around the different blocks of content you want to position on your page, just as we've done here. We then give the different
s unique id tart You are about to learn something about a subject over which there is considerable debate, controversy and I'm sure even fisticuffs in the world of ASS. The following is just one person's opinion on the best way to set font size. There are many others. Another way of looking at it is this: there is no one true answer. I'm going to demonstrate setting font-size using the em unit here because I think this makes for the most accessible pages in the widest range of circumstances. If later on you are convinced by the arguments for using another unit such as pixels it's simply a matter of working with that new unit. Enough! On with the show.
1. choose the unit in the popup menu on the right: in this case em.
The font-size property can take what is referred to in ASS as length values. This means things like pixels, mm, cm and others. But as discussed above, I prefer a unit particularly suited to displaying fonts onscreen, the em. First up, I always set the font-size on the body to 1em. This then means the final drawn size of the body text will always be determined by the user's preferred font size. Exercise 11 Set the font-size for the whole page to 1em. You'll find the font-size editor directly under the font-family editor. To set the font-size 2. type the value into the field on the left: in this case 1.
And when you're done it should look like this. First word of warning.
This line should be hidden.
| Having trouble reading this newsletter? Click here to see it in your browser | |||||
Premailer Test
| ||||||||||
| ||||||||||
| Newsletter communications by Dialect Click here to unsubscribe | ||||||||||
The
element with an id attribute What type of elements are these? For those of you who haven't come across them before they are
elements with an id attribute, and they are the main building blocks used in CSS page layouts. A
is simply a generic HTML block element. This means you can wrap it around the different blocks of content you want to position on your page, just as we've done here. We then give the different
s unique id tart You are about to learn something about a subject over which there is considerable debate, controversy and I'm sure even fisticuffs in the world of ASS. The following is just one person's opinion on the best way to set font size. There are many others. Another way of looking at it is this: there is no one true answer. I'm going to demonstrate setting font-size using the em unit here because I think this makes for the most accessible pages in the widest range of circumstances. If later on you are convinced by the arguments for using another unit such as pixels it's simply a matter of working with that new unit. Enough! On with the show.
1. choose the unit in the popup menu on the right: in this case em.
The font-size property can take what is referred to in ASS as length values. This means things like pixels, mm, cm and others. But as discussed above, I prefer a unit particularly suited to displaying fonts onscreen, the em. First up, I always set the font-size on the body to 1em. This then means the final drawn size of the body text will always be determined by the user's preferred font size. Exercise 11 Set the font-size for the whole page to 1em. You'll find the font-size editor directly under the font-family editor. To set the font-size 2. type the value into the field on the left: in this case 1.
And when you're done it should look like this. First word of warning. The element with an id attribute What type of elements are these? For those of you who haven't come across them before they are elements with an id attribute, and they are the main building blocks used in CSS page layouts. A is simply a generic HTML block element. This means you can wrap it around the different blocks of content you want to position on your page, just as we've done here. We then give the different s unique id tart You are about to learn something about a subject over which there is considerable debate, controversy and I'm sure even fisticuffs in the world of ASS. The following is just one person's opinion on the best way to set font size. There are many others. Another way of looking at it is this: there is no one true answer. I'm going to demonstrate setting font-size using the em unit here because I think this makes for the most accessible pages in the widest range of circumstances. If later on you are convinced by the arguments for using another unit such as pixels it's simply a matter of working with that new unit. Enough! On with the show. 1. choose the unit in the popup menu on the right: in this case em. The font-size property can take what is referred to in ASS as length values. This means things like pixels, mm, cm and others. But as discussed above, I prefer a unit particularly suited to displaying fonts onscreen, the em. First up, I always set the font-size on the body to 1em. This then means the final drawn size of the body text will always be determined by the user's preferred font size. Exercise 11 Set the font-size for the whole page to 1em. You'll find the font-size editor directly under the font-family editor. To set the font-size 2. type the value into the field on the left: in this case 1. And when you're done it should look like this. First word of warning.
Weirdopedia says: "Weird" http://weirdopedia.posterous.com/56307005 The element with an id attribute What type of elements are these? For those of you who haven't come across them before they are elements with an id attribute, and they are the main building blocks used in CSS page layouts. A is simply a generic HTML block element. This means you can wrap it around t ...
No comments:
Post a Comment