Hall of Famer Posted November 25, 2010 Share Posted November 25, 2010 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 https://forums.phpfreaks.com/topic/219794-how-to-add-a-background-image-to-this-php-table-code/ Share on other sites More sharing options...
MrXHellboy Posted November 25, 2010 Share Posted November 25, 2010 This is NOT PHP concerned! Wrong place to post this. However, go for CSS and the how ? background-image: url naar img; Link to comment https://forums.phpfreaks.com/topic/219794-how-to-add-a-background-image-to-this-php-table-code/#findComment-1139424 Share on other sites More sharing options...
Hall of Famer Posted November 25, 2010 Author Share Posted November 25, 2010 Edit: Fixed this issue already, took me longer than expected though. Link to comment https://forums.phpfreaks.com/topic/219794-how-to-add-a-background-image-to-this-php-table-code/#findComment-1139425 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.