 |
| HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

October 6th, 2007, 02:25 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
cheers, working code - required a closing </IFRAME> tag :-) can't believe I missed it!!!!!!!!!!
Code:
<?php
include($_SERVER["DOCUMENT_ROOT"] . "/mini/inc/dbconn.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>AyrshireMinis.com - a Mini E-Community</TITLE>
<script language="JavaScript" type="text/javascript" src="js/general.js"></script>
<link rel="stylesheet" type="text/css" href="/mini/inc/style.css" />
<link rel="shortcut icon" href="/favicon.ico" />
</HEAD>
<BODY>
<?php
include($_SERVER["DOCUMENT_ROOT"] . "/mini/inc/general.php");
include($_SERVER["DOCUMENT_ROOT"] . "/mini/inc/header.php");
?>
<table class="main_table" border="0" cellpadding="5" cellspacing="5">
<tr>
<td>
<table class="sec_table" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="1300px">
<iframe frameborder="0" width="100%" height="100%" src="/mini/phpbb2/index.php" scrolling="no"></iframe>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table align="center">
<tr>
<td width="100%" height="20">
<center>
<?php include($_SERVER["DOCUMENT_ROOT"] . "/mini/inc/footer.php") ?>
</center>
</td>
</tr>
</table>
</BODY>
</HTML>
www.crmpicco.co.uk
www.ie7.com
|
|

October 6th, 2007, 02:28 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
cheers Imar, never seen your post before I posted up the code there. It was just one of those I could not spot - LOL!! Thanks again, thought it was a problem with the PHPBB2 index script for a while there. But at least it's solved.
Dank u!!!
www.crmpicco.co.uk
www.ie7.com
|
|

October 6th, 2007, 02:33 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Neither can I....
In these cases, *always* run your code through an on-line validator like the one at www.w3.org.... They can be really helpful with pinpointing these kind of issues.
Glad it's working now.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
|
|

October 6th, 2007, 02:50 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Cool, i'll use that next time. Picco
www.crmpicco.co.uk
www.ie7.com
|
|

October 6th, 2007, 04:01 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
that was ages ago :-) LOL!!!
www.crmpicco.co.uk
www.ie7.com
|
|
 |