I've run into a problem with an include file that I can't figure out why it's 
happening. 

Certain text files on my site are rather long. Originally, when these pages 
loaded, the menu structure would load first, followed by the text in a box  
to the right of the Menu.  However, the long text files would load over on 
top of the menu, but once the loading was complete, the text box would shift 
to its proper position. Very messy looking!

What I have done successfuly on about twelve different files, is to put the 
include statement at the very end, after the final closing </div>and before 
</body>. For all files but two, this works admirably.

On these errant last two files (they have the same div sheet and include 
file, but exhibit very different behavior), the text loads fine, but then the 
menu overlays upon it - contrary to what the div sheet says. If I put the 
include in the 'normal' place at the top of the file, everything works OK.

I've tried resetting the names of both the div sheet and the links sheet (the 
Menu) so that both are executed only once and only by the page in question. 
No change -- same effect. 

Snippet of 'Normal' placement:
. . .
<body>
<?php include("links-infoSub.sht"); ?>
<div id="content">
. . .


Snippet of 'End' placement:
. . .
</div>
<?php include("links-infoSub.sht"); ?>
</body>
</html>

Any ideas of what's going wrong? And why only these two files exhibit this 
behavior? Btw, the code of the two pages is exactly similar to all others 
that work OK. (Only the text is changed).

Any help of what might be happening here would be greatly appreciated,
Tia,
Andre


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to