Jump to content

How to add a background image to this php table code?


Hall of Famer

Recommended Posts

Well here is the original code in my script file, and it has a background color Green now:

 

[/code]$article_content = "<center><table style='color: #FFFF31; background: Green; width: 400px; border: 1px solid #9BDDFF;'><tr><td><i><b><u>Welcome to Mysidia City's fishing pool</b></u></i><br><br><br>

Before you actually begin your fishing career, I'd strongly recommend you to doublecheck if you have a fishing rod already since it is apparently required for every fisherman here.

<br><br><br><a href='fishing.php?act=1'>Enter</a> the fishing pool now if you have a fishing rod already or

<br>Visit this <a href='fishingquiz.php'>Page</a> to take the fishing quiz and earn yourself an old rod to begin with.

<td></tr></table><br><center><img src='picuploads/other/lakeofrage.png'></center>";[/code]

 

Now I wish to replace the background color with a background image, what should I do? The image url is provided below:

http://www.pokemansion.net/picuploads/other/seadrabg.png

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.