In HTML, I know how to set an image as a <table> or <div> background, but does anyone know how to set a random image as a <table> or <div> background, so that it is different every time the user refreshes the page? Thanks in advance
The views expressed on this page by users and staff are their own, not those of NamePros.
You will need to do some scripting. Either server-side with PHP for example, but it can be done in Javascript too if enabled on the browser (it is in 99% cases), using document.write