Explain how you can style table borders.

What will be an ideal response?

By default, tables are displayed in the browser with borders turned off. You can add borders to tables using CSS style rules. Borders can be applied to the whole table, to individual rows, and to individual cells. Using the table element as a selectorapplies the border only to the outside of the table.?Borders do not inherit styles, so you can add borders for each cell by specifying them in a separate style rule. ?You can also style individual row and cell borders using classes or ids to make specific selections in the table. For example, a row selector could look like the following:?tr.header {background-color: #ccddee;}
You would apply this rule using the class attribute in the specific row you want to have the
background color:

Computer Science & Information Technology

You might also like to view...

When calculating the value of an annuity with annual investments of $500, the input in the pmt argument is 500

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following will NOT calculate the same answer for (Sum([Fee])*0.38)?

A) Sum([Fee]*(1-.38)) B) Sum([Fee]*.62) C) Sum([Fee]*1.00-0.38) D) Sum([Fee]*1.62)

Computer Science & Information Technology