?Describe the process of setting the width and color of a border.
What will be an ideal response?
?Cascading Style Sheets (CSS) supports several style properties that are used to format the border around each element. As with the margin and padding styles, one can apply a style to the top, right, bottom, or left border, or to all borders at once. To define the thickness of a specific border, use the propertyborder-side-width: width;where side is either top, right, bottom, or left and width is the width of the border in one of the CSS units of measure. For example, the following style sets the width of the bottom border to 10 pixels:border-bottom-width: 10px;?Border widths also can be expressed using the keywords thin, medium, or thick; the exact application of these keywords depends on the browser. One can define the border widths for all sides at once using the border-width propertyborder-width: top right bottom left;where top, right, bottom, and left are the widths of the matching border. As with the margin and padding properties, if one value is entered, it's applied to all four borders; two values set the width of the top/bottom and left/right borders, respectively; and three values are applied to the top, left/right, and bottom borders, in that order.?Thus, the following property sets the widths of the top/bottom borders to 10 pixels and the left/right borders to 20 pixels:border-width: 10px 20px;?The color of each individual border is set using the propertyborder-side-color: color;where side once again specifies the border side and color is a color name, color value, or the keyword transparent to create an invisible border. The color of the four sides can be specified using the following border-color property:border-color: top right bottom left;where top right bottom left specifies the side to which the color should be applied.?Thus, the following style uses gray for the top and left borders and black for the right and bottom borders:border-color: gray black black gray;If no border color is specified, the border will use the text color assigned to the element.
You might also like to view...
Answer the following statements true (T) or false (F)
1. It is legal to replace the prototype double totalCost(int numberParam, double priceParam); with the more terse, alternate form double totalCost(int, double); 2. In C++ Boolean value are represented only with the int values 0 for false and 1 for true. 3. Extensive use of global variables is a satisfactory replacement for the difficulties of parameter passing with functions. 4. A variable declared outside any function is said to be a local variable.
The Hue/Saturation is one of the most powerful ____________________ in Photoshop.
Fill in the blank(s) with the appropriate word(s).
In the OneNote Web App, the ________ command will allow you to see who has added or changed information on a page
Fill in the blank(s) with correct word
To correct a potential spelling, grammatical, or word usage error in a document, you ________ the underlined error and make a selection from the resulting menu
A) double-click B) click C) right-click D) triple-click