http://access2learn.com/tutorial/java...
This simple tutorial shows you how to add CSS styles to an HTML element at run time, i.e. when the user loads the web page. This is nice because it will let you make changes based upon what the user does, not be static for every user.