
November 16th, 2003
01:55 AM
Neverside Newbie
Status: Offline!
Problem with Background and PHP
Alright, my problem is this:
Whenever I try to change the extension of my main index file to .php from .html, the background color dissapears. I wanted to change it to .php to perform the @include () function.
The site is http://bigkoch.alphazap.net.
You'll notice the background color is that orange, but when I change the extension to .php it changes to all white.
The site is done completely done in CSS, and the stylesheet is fine. The url to the stylesheet it: http://bigkoch.alphazap.net/styles/main.css
Anybody have any idea why it is doing this, and more importantly, how to fix that?
Thanks a lot.
___________________
-Zach

November 16th, 2003
02:00 AM
Neversidian
Status: Offline!
More information needed.. what does your .php file look like? show the difference between .php and .html ..
___________________
angelessme, antagonising neverside members, staff and administration since 2001.

November 16th, 2003
02:13 AM
Neverside Newbie
Status: Offline!
There is no different between the two. The minute I go into FTP and rename the file from index.html to index.php the background goes away.
___________________
-Zach

November 16th, 2003
02:18 AM
Neversidian
Status: Offline!
What the fook...
It's probably something to do with xhtml compliance or something kooky like that.. totally beyond my meagre understanding.. sorry 
___________________
angelessme, antagonising neverside members, staff and administration since 2001.

November 16th, 2003
02:22 AM
That shouldnt be happening...

November 16th, 2003
03:03 AM
Neverside Newbie
Status: Offline!
You realize that you can include HTML files too? And yes, it shouldn't be happening. And it has nothing to do with XHTML compliance. 

November 16th, 2003
07:41 AM
<?php
<style type="text/css">
body {
background:#FFF;
?>
Makes the background white 

November 16th, 2003
11:09 PM
Neverside Newbie
Status: Offline!
Lol, yes it does. That's why I have:
body {
background-color:#FBD965;
margin:0px;
padding: 0px;
color:#333;
text-align:center;
font-family:times new roman,times,serif;
font-size:13px;
}

___________________
-Zach

November 16th, 2003
11:23 PM
Well remove background:#FFF; from the php page and the background will not be white anymore, or change it to #FBD965

November 17th, 2003
12:40 AM
Neverside Newbie
Status: Offline!
Where are you seeing that at?
___________________
-Zach