| borderTop This property may be used to set the borderColor, borderStyle, and borderWidth properties for an element using only one statement. The values used are as follows, and are space delimited. The length measurement options for this value are: mm millimeters. cm centimeters. in inches. pt points, which is a way of measuring the font size. One point is 1/72 (one seventy-second) of an inch. pc picas, which is yet another way of measuring font size. One pica is equal to 12 points. px pixels, which is one screen element. The display you're looking at is comprised of thousands of individual dots, each of which can change in color and luminosity to achieve the desired image. Each of these dots is referred to as a pixel.
ex x-height settings, which is the height of the font's lower case letter 'x'. em em setting. One em is equivalent to the width of a capital letter in the chosen font. Millimeters, centimeters, inches, points, and picas are considered to be absolute lengths because you're specifying the exact size of the value. Relative units such as em and ex are interpreted as references to the parent font size. Values for the borders may also be represented as 'thin', 'medium', and 'thick'.
The border style options are as follows:
dashed dotted double groove hidden inset none outset ridge solid syntax: document.all.elementID.style.borderTop = "value(s)" This Property is used to access attributes of the following: style
|