Adding a picture ass background...

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Radeon
Forum Newbie
Posts: 11
Joined: Thu Oct 31, 2002 6:26 am
Contact:

Adding a picture ass background...

Post 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
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post by mydimension »

this belongs in the Client Side forum, so i have moved it there.
Radeon
Forum Newbie
Posts: 11
Joined: Thu Oct 31, 2002 6:26 am
Contact:

Post by Radeon »

Clientside.. This aint clientside.. O took it directly from a .php file in phpnuke.. So why is it clienthside?!?!
User avatar
Mindwreck
Forum Newbie
Posts: 12
Joined: Mon Dec 02, 2002 10:10 am
Location: Illinois, USA
Contact:

Post 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;
Radeon
Forum Newbie
Posts: 11
Joined: Thu Oct 31, 2002 6:26 am
Contact:

Post by Radeon »

Ok, thx, trying that out later.
Post Reply