AmitDiwan has Published 11365 Articles

HTML DOM Style columns Property

AmitDiwan

AmitDiwan

Updated on 23-Oct-2019 11:40:39

30 Views

The HTML DOM columns property is used for manipulating columnWidth and columnCount property.Following is the syntax for −Setting the columns property −object.style.columns = "auto|column-width column-count|initial|inherit"The above property values are explained as follows −ValueDescriptionAutoThissets the column-width and column-count to auto and is the defaultvalue.columnWidthForspecifying the column width.columnCountForspecifying the column numbers.initialForsetting this ... Read More

HTML DOM Style columnRuleWidth Property

AmitDiwan

AmitDiwan

Updated on 23-Oct-2019 11:36:02

22 Views

The HTML DOM columnRuleWidth property is used for setting or getting the column rule width.Following is the syntax for −Setting the columnRuleWidth property −object.style.columnRuleWidth = "medium|thin|thick|length|initial|inherit"The above property values are explained as follows −ValueDescriptionthinThisspecifies a thin rule.mediumThisspecifies the medium rule and is the default value.thickThisspecifies a thin rule.lengthThisis used for ... Read More

HTML DOM Style columnRuleStyle Property

AmitDiwan

AmitDiwan

Updated on 23-Oct-2019 08:27:45

25 Views

The HTML DOM Style columnRuleStyle property is used to define or return the style of column rule.Following is the syntax for −Setting the columnRuleStyle property −object.style.columnRuleStyle = "none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset| initial|inherit"The above property values are explained as follows −ValueDescriptionnoneThis is the default value specifying no rule.hiddenThis is same as "none" but will ... Read More

HTML DOM Style columnRuleColor Property

AmitDiwan

AmitDiwan

Updated on 23-Oct-2019 08:21:22

34 Views

The HTML DOM columnRuleColor property is used for setting or returning the rule color between columns.Following is the syntax for −Setting the columnRuleColor property −object.style.columnRuleColor = "color|initial|inherit"Here, color specifies the color of the rule. Initial sets the value to default value and inherit sets it to parent property value.Let us ... Read More

HTML DOM Style columnRule Property

AmitDiwan

AmitDiwan

Updated on 23-Oct-2019 08:14:34

26 Views

The HTML DOM columnRule property is used for getting or setting the columnRule property. It is the shorthand property for manipulating three properties namedcolumnRuleColor, columnRuleStyle and columnRuleWidth.Following is the syntax for −Setting the columnRule property −object.style.columnRule = "column-rule-width column-rule-style column-rule-color|initial|inherit"The above properties are explained as follows −ValueDescriptioncolumnRuleWidthFor setting the rule ... Read More

HTML DOM Style columnGap Property

AmitDiwan

AmitDiwan

Updated on 23-Oct-2019 08:11:57

21 Views

The HTML DOM Style columnGap property is used to specify the space between columns of an element.Following is the syntax for −Setting the columnGap property −object.style.columnGap = "length|normal|initial|inherit"The above properties are explained as follows −ValueDescriptionLengthSpecifying the length used to set gap between columnsNormalThis is the default value specifying a gap ... Read More

HTML DOM Style columnCount Property

AmitDiwan

AmitDiwan

Updated on 23-Oct-2019 08:03:30

36 Views

The HTML DOM Style columnCount property is used to set the number of columns an element is to be divided.Following is the syntax for −Setting the columnCount property −object.style.columnCount = "number|auto|initial|inherit"The above properties are explained as follows:ValueDescriptionNumberFor setting the number of columns into which the content of the element will ... Read More

HTML DOM Style color Property

AmitDiwan

AmitDiwan

Updated on 23-Oct-2019 07:58:54

413 Views

The HTML DOM Style color property is used for getting or setting the color for the text. The color for the text can be specified in hexadecimal, rgb(), rgba(), hsl(), hsla() or using known keyword.Following is the syntax for −Setting the color property −object.style.color = "color|initial|inherit"The above properties are explained ... Read More

HTML DOM Style clear Property

AmitDiwan

AmitDiwan

Updated on 23-Oct-2019 07:47:23

107 Views

The HTML DOM clear property is used for getting or setting the position of a floating element. It is used to specify whether an element should be moved below another floating element or not.Following is the syntax for −Setting the clear property −object.style.clear='none|left|right|both|initial|inherit'The above properties are explained as follows −ValueDescriptionleftElements ... Read More

HTML DOM Style captionSide Property

AmitDiwan

AmitDiwan

Updated on 23-Oct-2019 07:40:44

22 Views

The HTML DOM captionSide property is used for getting or setting the table caption position.The table caption is only set on vertical position i.e top and bottom.Following is the syntax for −Setting the captionSide property −object.style.captionSide = "top|bottom|initial|inherit"The above properties are explained as follows:ValueDescriptiontopFor positioning the table caption above the ... Read More

Advertisements