Page 1 of 1

Adding a picture ass background...

Posted: Sat Dec 07, 2002 8:36 am
by Radeon
Ok, i have this line:

"<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#C0C0C0\" width=\"100%\"><tr><td align=left>\n"

But i want to have a picture as background in the table instead of just a plain colour.. What do i have to add to the line then?

/Thx for any help :D

Posted: Sat Dec 07, 2002 8:48 am
by mydimension
this belongs in the Client Side forum, so i have moved it there.

Posted: Sat Dec 07, 2002 9:40 am
by Radeon
Clientside.. This aint clientside.. O took it directly from a .php file in phpnuke.. So why is it clienthside?!?!

Posted: Sat Dec 07, 2002 10:07 am
by Mindwreck
he moved it to client side because it is client side code.

Add this to the table tag

Code: Select all

background="image.gif"
Or, if you would like to do it with CSS

Code: Select all

td
 &#123;background-image: url(image.gif);&#125;

Posted: Sat Dec 07, 2002 8:19 pm
by Radeon
Ok, thx, trying that out later.