Hi everyone,
I have a site which is now running on php ( www.firewall.cx ). What I am now trying to do is add some graphics around the page which the user selects to read.
At the moment the dynamically created page consists of the header.php and the user defined (via menu) page.
In my index.php file, I have created two tables and each one has a cell in it. Each cell contains the php code to force the server to load a php file in it and send it to the user:
<html>
<head>
<title>Firewall.cx - Internetworking Firewalls and Networks</title>
</head>
<body>
<?php
require("header.php");
?>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<!--DWLayoutTable-->
<tr>
<td width="100%" height="29" valign="top">
<?php
if ($c != "") {
include("".$c.".php");
} else {
include("home.php");
}
?>
</td>
</tr>
</table>
</body>
</html>
With the new graphics I am trying to add, there will need to be a second cell in the second table so that the graphics appear on the left hand side of the cell which loads the "home.php".
So I've modified the above code but my problem is that I've spent days trying to get this to work in IE and Opera, but Opera wont display it properly. I use the 'height=100%' for the new cell, so no matter how long the home.php or any other page that loads in that cell is, the cell containing the graphics will autostretch automatically to match the height of the cell next to it (containing home.php). This way the graphics are always as long as the page next to it is displayed.
Opera will not "autostretch" the graphics cell to give this effect, while IE does.
I dont know much on php, but is there another way I can accomplish the same goal ?
Any suggestions are mostly welcome !
ps. If you know of any program that creates templates that would work the same way, please let me know !
Thank you !!