Html_Table_Border_Color_Set()
Abstract
Sets the border color for a table.
Syntax
Html_Table_Border_Color_Set (table_elem_ptr, light_color, dark_color)
| Argument | Type | Description |
|---|---|---|
table_elem_ptr |
HtmlT_Element * |
pointer to the table of interest |
light_color |
int |
Border light color (see Details) |
dark_color |
int |
Border dark color (see Details) |
Return Type
void
No return value.
Header
html.h
Details
The arguments light_color and dark_color use the color names given in Table 174 Core Sub-Package Symbolic Constants. Either or both colors can be set to HTMLC_COLOR_UNSPEC. If both colors are unspecified, no border attributes appear in the table and the table has no border. If light_color is unspecified, border attribute bordercolorlight is set to white and border attribute bordercolor is set to dark_color. If dark_color is unspecified, bordercolor is set to black. In all other cases, bordercolor is set to the average of light_color and dark_color.
Note: Netscape Navigator ignores the bordercolorlight and bordercolordark attributes. Microsoft Internet Explorer ignores bordercolor if bordercolorlight and bordercolordark are set.