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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.