Previous Thread
Next Thread
Print Thread
Hop To
Joined: Apr 2004
Posts: 232
Likes: 1
D
Enthusiast
Enthusiast
D Offline
Joined: Apr 2004
Posts: 232
Likes: 1
At http://www.dennyp.com/ubbthreads/ubbthreads.php/forum_summary you can see extra characters at the top left of the page header information.

Here is the include that I have in my Control Panel -> Default Header -> HTML Includes area.
Quote
<?php
include ("../utilities/message_board_header.htm");
?>

Here is what is in the above file.
Quote
<style type="text/css">
.dpt_scroll {
font-size: small;
}

.dpt_updated {
font-size: xx-small;
}

.dpt_header_center {
font-size: small;
font-weight: bold;
text-align: center;
}
.style1 {
text-decoration: blink;
}
</style>

<table style="width: 100%">
<tr>
<td style="width: 20%">
<img alt="DennyP Travel" height="75" src="http://www.dennyp.com/images/message.jpg" width="273" /></td>
<td >
<p class="dpt_header_center"><strong>
<a href="http://www.dennyp.com/utilities/message_board_header_info.htm" target="_blank">
PLEASE READ * New Message Board Information * PLEASE READ</a></strong>
<strong><span class="dpt_updated">updated 8/22/09<br />
</span></strong><span class="style3"><strong>
<a href="http://www.dennyp.com/dennyptravel/quote_request.htm" target="_blank">
Request Quote</a></strong></span><br />
<a href="http://www.facebook.com/denny.pasternak" target="_blank">
<strong>Facebook</strong></a>
|
<strong>
<a href="http://twitter.com/dennyptravel" target="_blank">Twitter</a></strong>
|
<a href="http://www.dennyp.com/visitors/visitor_search.htm" target="_blank">
Visitor Schedule</a> |
<a href="http://www.dennyp.com/utilities/group_calendar/dennypcal.htm" target="_blank">
Resort Groups & Events Calendar</a><br />
<a href="http://www.dennyp.com/" target="_blank">Main DennyP Travel Web
Pages</a><br />
</p>
</td>
<td style="width: 20%">


<iframe width="180" height="75" src="http://www.dennyp.com/home_newstic.html" SCROLLING="no" FRAMEBORDER="0" border=0 name="I1" id="I1"></iframe>
<br /><span class="dpt_updated">Place your mouse on the scrolling window above to pause scrolling.
</span>
</td>
</tr>
</table>
I can't figure out where those extra character are coming from. If I do a Display Source in my browser (Firefox and IE) those extra characters are inserted right after the <div id="content"> code.

Any ideas where those extra characters are coming from and how they can be removed?

I've also tried include path to be "http:www.dennyp.com/utilities/message_board_header.htm"

Last edited by DennyP; 08/23/2009 5:46 PM. Reason: additional information

DennyP - www.dennyp.com
DennyP Travel
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
I pasted the code you have in my test board and it works fine in ie8 and firefox.
Possibly you have something in the body on load or header insert section in the ubb control panel in html includes that is causing a conflict.

Or you could try just pasting the code in the includes section instead of a file include and see if that works. Sometimes path types make a difference.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (Nightcrawler, Ruben), 694 guests, and 214 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)