Note: Internet Explorer does not support the DOM style methods so this example will fail.