View Full Version : PHP Backgroud colour???
Anayet
May 2nd, 2001, 12:44
How do I change the background color of the following PHP Script?:(
http://www.digitalxtc2.f2s.com/testpage.txt
Thanks
Anayet
lucifer
May 2nd, 2001, 14:30
you can't it just adds a link and image so the bg colour is dependent on the page it's included from
or else change the images themselves
Anayet
May 3rd, 2001, 08:31
OK then, how can I add a background image to it then?
I could put a small black gif and make the whole page background black right?
Anything to make the background colour change would be grateful.
Thanks
Anayet
lucifer
May 3rd, 2001, 10:27
<html>
<body bgcolor="#FF0000">
<?php
your script here
?>
</body>
</html>
is that what your after?
basically just embed it in the html of a page that's how you want it - this may not be the cleanest way as you don't really want your HTML and PHP all mixed up
make sure the page is called *.php3 or whatever extension you use
Anayet
May 3rd, 2001, 11:03
Thanks lucifer, works a treat.
Anayet
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.