Hi everyone. I have an html site that I've converted to php with the help of a friend. Unfortunately he's very busy and I'm just hoping someone else can help me get it going.
The html site is here:
jasonbot.googlepages.com/index.html
The php site is here:
http://grupenet.com/jasonbot/main.php
The problem I am currently experiencing is that the text in the php site (that I got via a switch statement) is not adhering to my stylesheets. I don't know how to fix it and I'm sure its a very basic thing that I need to do as I have a feeling that my <p> tags just wont cut it.
the switch:
the css:
thanks in advance
The html site is here:
jasonbot.googlepages.com/index.html
The php site is here:
http://grupenet.com/jasonbot/main.php
The problem I am currently experiencing is that the text in the php site (that I got via a switch statement) is not adhering to my stylesheets. I don't know how to fix it and I'm sure its a very basic thing that I need to do as I have a feeling that my <p> tags just wont cut it.
the switch:
PHP:
<p align="center" id="middle">
<?php
$pg = $_GET['pg'];
switch ($pg) {
default:
include "home.html";
break;
}
?>
</p>
the css:
HTML:
p#middle{
background:url(body.png) center repeat-y;
margin-left:100px;
margin-right:100px;
padding-right:100px;
padding-left:100px;
margin:0;
}
thanks in advance