Log in

View Full Version : Background colors, and images... silly stuff like that



theunnamedone
11-08-2005, 03:51 PM
although i have had experience in the past with website design, i have never used HTML coding, which i have started using:

www.fatdancing.cjb.net

ignore the stupid name... but could someone advise me with how to add either a background image or a background color?

(this is a basic question, as i am yet to get the hang of HTML)

simonf
11-08-2005, 04:14 PM
Hi

At the body tag <body background="images/file.gif">

theunnamedone
11-08-2005, 04:22 PM
how do just do basic colours?...

thanks for the background info :)

Twey
11-08-2005, 05:00 PM
<body bgcolor="red">

theunnamedone
11-10-2005, 11:55 AM
...one final question...

Q.can you make the background color random?

...not sure if this is possible...

Twey
11-10-2005, 07:56 PM
Only with Javascript. See http://javascript.internet.com/bgeffects/javascript-color-show.html, or Google it (http://www.google.com/search?q=javascript%20random%20background%20color%20script).