Javascript Reference
Categories: LEGEND

javascript LEGEND align

@March 15, 2008, 1:22 a.m.
alignFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Controls the alignment of the legend element with respect to the containing fieldset element. The permissible values do not always work as planned in Internet Explorer 4. Be sure to check your desired setting on all operating system platforms of your intended audience.

 
Example
 
document.getElementById("myLegend").align = "center";
 
Value

Any one of the following constant values (as a string): bottom | center | left | right | top.

 
Default

left


Powered by Linode.