How do I set up a JavaScript file to randomly select a CSS class?
Jul.26, 2008 in
CSS
HiFi asked:
Each CSS class will have a background image assigned to it, and the image will appear in the background of a DIV tag. The DIV will have an ID assigned to it, which will control the dimensions, etc, but the actual class will only contain a background image.
How do I best do that? I am only working in HTML, JS and CSS, since I am making a CD-ROM, which will obviously not be able to use PHP, ASP, etc.

Custom Search
Leave a Reply
You must be logged in to post a comment.