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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com