
|

|
Using Styles Everywhere
10/1/99, Chuck Musciano, Webreview.com. When HTML was first developed, tags existed only to delimit content for some specific semantic reason: a paragraph, an image, a table, etc. With the advent of styles, we needed a tag that delimits text for no other reason than to apply a style. Ask and ye shall receive: HTML 4.0 provides the perfect tool, the tag.
webreview.com/pub/1999/10/01/tag/index_.html
Contextual Selectors
9/24/99, Chuck Musciano, Webreview.com. Contextual selectors give you some control over the styles applied to tags in a specific order in your document. Keep in mind that a well-formed HTML document consists of nested tags, starting with the outermost tag and working inward to individual tags.
webreview.com/pub/1999/09/24/tag/index_.html
A Special Kind of Class
9/17/99, Chuck Musciano, Webreview.com. With pseudo-classes, you create sets of style properties in a similar manner, and you also gain stylistic control over HTML elements that you otherwise could not manage. However, pseudo-classes dramatically restrict how you may use those properties.
webreview.com/pub/1999/09/17/tag/index_.html
Using IDs as Classes
9/10/99, Chuck Musciano, Webreview.com. The concept of an ID permeates HTML. Almost every tag, regardless of function, accepts the id attribute. The value of this attribute is a character string that's used as an identifier for the associated tag. The identifier must be unique within the current document; no two tags in the same document can have the same ID.
webreview.com/pub/1999/09/10/tag/index_.html
How to Add Class to Your Tags
9/3/99, Chuck Musciano, Webreview.com. Classes define rules that are only applied to a subset of tags in your document, as denoted by the class name of the tag. As with most HTML concepts, this is easier to show by example than by explanation.
webreview.com/pub/1999/09/03/tag/index_.html
Inline, External, and Internal Style Sheets
8/27/99, Chuck Musciano, Webreview.com. Our HTML pages have a better chance of maintaining their carefully crafted designs when we use style sheets. But deciding how to apply the sheets can be as important as the design itself. This week we'll look at three different ways to apply styles to your documents.
webreview.com/pub/1999/08/27/tag/index_.html
Listings 1-6 of 6 displayed.
|
|