
CSS: Units of Measurement
ou can measure CSS property values in one of two ways: As an absolute value As a relative value. Absolute values have a fixed, specific value. They let you, the page creator, be exact in your measurements and control the
ou can measure CSS property values in one of two ways: As an absolute value As a relative value. Absolute values have a fixed, specific value. They let you, the page creator, be exact in your measurements and control the
osition: {position: normal/relative/absolute} The position property lets you set a box’s position in the layout of a page. The default value is normal; the box’s position is calculated according to other boxes. Relative lets you specify the box’s position in
Text Values Absolute: pt/pc/cm/mm/inRelative: px/em/ex/% ou can measure most font and text properties in either absolute or relative units. The tables below show the values and their options. Absolute Unitsunitabbreviationexamplepointsptfont-size: 12ptThere are 72 points to an inch, 12 points to
ne of the keys to a good Web site is simplicity. You’ve heard of the “KISS” principle? Keep It Simple Silly. This applies doubly for Web sites. It’s easy to fall into the trap of using every possible feature on
There are four ways to specify color: By Color Name By hexadecimal value. By RGB percents (only with CSS/XSL) By RGB decimal values (only with CSS/XSL) Here’s a chart of colornames, codes, and samples. If you want to see how
Planning A Trip to HawaiiHawaii, the Aloha State, welcomes and tempts visitors with its tantalizing weather and magnificent beaches. Mark Twain described Hawaii as ‘the loveliest fleet of islands that lies anchored in any ocean’ and after thirty years of
etting sounds from a tape, record, CD player, or microphone onto your computer requires not only sound itself, but a number of applications and equipment, including: Computer Equipment,including connectors and sound cards. Sound-processing software that allows you to play, compress
Single Pixel GIF Trickn the early days of web design, HTML limitations inspired designers to find all sorts of workarounds in order to have control over the layout of pages. One of the most significant of these workarounds was the
ascading Style Sheets are a necessary ingredient for, and one of the key components of, DHTML. They’re also a good idea for managing Web pages in general. Cascading Style Sheets, or CSS for short, is an approach that has been