HTML DOM Style Object - Table Layout Property

What are all the table layout properties available in the DOM style object?

Explanation

HTML DOM Style Object - Table Layout Property:
The layout property is used to set, change the layout of the elements at runtime. The layout properties of the style object were listed in the table given below:
syntax:
object.style.property=value;
Layout Property Description values
clearspecifies on which sides of an element other floating elements are not allowedleft
right
both
none
clipspecifies the shape of an elementrect(top,right,bottom,left)
auto
contentspecifies meta-information
counterIncrementSpecifies a list of counter names, followed by an integer. The integer indicates by how much the counter is incremented for every occurrence of the element. The default is 1
counterResetspecifies a list of counter names, followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element. The default is 0
cssFloatspecifies where an image or a text will appear (float) in another elementleft
right
none
cursorspecifies the type of cursor to be displayedauto
pointer
text
wait
directionspecifies the text direction of an elementltr
rtl
inherit
displayspecifies how an element will be displayedinline
compact
marker
table
inline-table
heightspecifies the height of an elementauto
length
%
markerOffsetspecifies the distance between the nearest border edges of a marker box and its principal box
marksspecifies whether cross marks or crop marks should be rendered just outside the page box edge
maxHeightspecifies the maximum height of an elementlength
%
maxWidthspecifies the maximum width of an elementlength
%
minHeightspecifies the minimum height of an elementlength
%
minWidthspecifies the minimum width of an elementlength
%
overflowSpecifies what to do with content that does not fit in an element boxvisible
hidden
scroll
auto
verticalAlignspecifies the vertical alignment of content in an elementsub
super
top
middle
bottom
visibilityspecifies whether or not an element should be visiblevisible
hidden
collapse
widthspecifies the width of an elementauto
length
%

Ask Questions

Ask Question