Use setStyle(name, value) to assign style attributes to the link control.
obj.setStyle("color", "red");
obj.setStyle("font-weight", "bold");
obj.setStyle("background", "#ddd");
obj.setStyle("text-align", "right");
obj.setStyle("width", "200px");
Back to link examples, all examples