Skip to main content
Inspiring
March 1, 2007
Question

image bg

  • March 1, 2007
  • 2 replies
  • 294 views
hey everyone.
I am trying to figure out how to add a image background to my php script but i can't seem to get it to work.

this is my php script code :

<?php # Script 3.4 - index.php
$page_title = 'Welcome to Therainbowpride!';
include ('./includes/header.html');
?>
<h1 id="mainhead">Big Header</h1>
<p>This is where you'll put the main page content.This is where you'll put the main page content.</p>

<p>This is where you'll put the main page content.This is where you'll put the main page content.</p>

<h2>Subheader</h2>

<p>This is where you'll put the main page content.This is where you'll put the main page content.</p><br />
<p>This is where you'll put the main page content.This is where you'll put the main page content.</p>
<?php
include ('./includes/footer.html');
?>


Can someone give me a hand, i trying by placing this before the <?php # Script 3.4 - index.php :

<STYLE type=text/css>
BODY
{
background-image:url(" http://i68.photobucket.com/albums/i15/luishicks/goodhome00010001.jpg");
background-attachment:fixed;
background-repeat:no-repeat;
background-position:top;
}
</STYLE>


but it didnt work.

thanks everyone
This topic has been closed for replies.

2 replies

Inspiring
March 2, 2007
i did, it works but i have a problem. I want to add the buttons (home, view users, etc) to the top verticaly. Is it possible ?
thanks again
Inspiring
March 1, 2007
On Thu, 1 Mar 2007 07:31:12 +0000 (UTC), "LuisDesigns"
<webforumsuser@macromedia.com> wrote:


> Can someone give me a hand, i trying by placing this before the <?php # Script
> 3.4 - index.php :

> but it didnt work.
>
Put it in your header.html file.

--
Steve Fleischer
steve at flyingtigerwebdesign dot com
Hong Kong