I didn't know where to post this. Thing is, my script is mainly PHP, but there is an HTML side to it. "/
I've got a layout issue, which I've no idea how to solve. I'm not very good when it comes to the design/layout of things...ie: the HTML.
The layout I've got I downloaded (legally, I might add) from a brilliant website. I then incorporated a bit of PHP in it to apply it to mine and my brother's online game.
An image of the problem is attached to this post. Basically, the text above and below the template need to be inside the template, where Layout Name, Type etc is.
function menuarea() {
include "mainmenu.php";
global $ir, $c;
print "<div class='navhead'>Nav Bar</div>
</td>
<td valign='top'>
<img src='Images/index_12.gif' width='36' height='23' alt=''></td>
<td valign='top' background='Images/nav.gif' style='background-repeat:no-repeat;' width='127' height='23'>";
}
function smenuarea() {
include "smenu.php";
global $ir, $c;
print "<div class='navhead'>Staff Bar</div>
</td>
<td valign='top' background='Images/content.gif' style='background-repeat:no-repeat;' width='443' height='23'>";
}
function maincontent() {
global $ir, $c, $db;
print "<div class='navhead'>Layout Info</div>
<!-- Content Starts Here! -->
<b>Layout Name:</b> Desert Storm V1<br>
<b>Type:</b> Tables, Div<br>
<b>Iframes:</b> NO<br>
<b>Download Requirements:</b><br>
- No requirments needed.<br>
<b>Features:</b><br>- A Desert theme<br>
<b>Description:</b><br>
This simple layout is practice for me, a practice with color combinations that I haven\'t use, like this, a yellow-brownish-sand-like, for a desert theme :)
<div class='navhead'>Copyright & Final Comments</div>
This layout is copyrighted by SenkouRyu, don\'t edit the copyright info anywhere!<br>
Be sure to check <a href='http://www.senkouryu.net'>http:\//www.senkouryu.net</a> for more layouts like this or even better ones!
<!-- Content End -->
The biggest problem you are having is you are creating white space.
You need to close up your <td>'s.
You have most if not all of them on two lines.
Put your <td>'s on one line.
Bad example:
HTML Code:
<td><img></td>
Good example:
HTML Code:
<td><img></td>
In internet explorer, the bad example will create white space.