This example uses calls to an embedded stylesheet to dynamically set the space between an element's content and its border.
The image is loaded in a table cell with padding initially set in a stylesheet. Move the mouse over the image to apply a style class that expands its padding. Move the mouse out to reset.