This example uses calls to an embedded stylesheet to dynamically set an element's background-position style attribute.
The background image on the BODY is initially set at center.
Move the mouse over this text to apply a style class that sets the position of the image to top left.
Click to move bottom right. Move the mouse out to reset.
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.