Padding: |
args.type = "numeric length style[paddingTop]";
Top padding
|
args.type = "numeric length style[paddingRight]";
Right padding
|
args.type = "numeric length style[paddingBottom]";
Bottom padding
|
args.type = "numeric length style[paddingLeft]";
Left padding
|
Margin: |
args.type = "numeric length style[marginTop]";
Top margin
|
args.type = "numeric length style[marginRight]";
Right margin
|
args.type = "numeric length style[marginBottom]";
Bottom margin
|
args.type = "numeric length style[marginLeft]";
Left margin
|
Width: |
args.type = "numeric length style[width]";
Element width
|
Height: |
args.type = "numeric length style[height]";
Element height
|
Float: |
args.options = { "none" : "None",
"left" : "Left",
"right" : "Right" };
args.onUpdate = function() {
if (HTMLArea.is_ie)
this.setValue(this.oi.element.style.getAttribute("float"));
else
this.setValue(this.oi.element.style.getPropertyValue("float"));
};
args.onSelect = function() {
if (HTMLArea.is_ie) {
this.oi.element.style.setAttribute("float", this.getValue(), "");
this.oi.redraw();
} else
this.oi.element.style.setProperty("float", this.getValue(), "");
};
Floating element?
|