Please Help, Im Very Stressed Out

admin

Administrator
Staff member
Hi,<br />
I have been on this for the last 2 and a half hours. I have a script that uses templates and has a header and a footer. Here are the files:<br />
<br />
<!-- m --><a class="postlink" href="http://www.thehotweb.net/php/wbboard/templates/header.htm">http://www.thehotweb.net/php/wbboard/te ... header.htm</a><!-- m --><br />
<br />
<!-- m --><a class="postlink" href="http://www.thehotweb.net/php/wbboard/templates/footer.htm">http://www.thehotweb.net/php/wbboard/te ... footer.htm</a><!-- m --><br />
<br />
and the main page that calls these:<br />
<br />
<!-- m --><a class="postlink" href="http://www.thehotweb.net/php/wbboard/templates/main.htm">http://www.thehotweb.net/php/wbboard/templates/main.htm</a><!-- m --><br />
Now when put together it looks like this:<br />
<!-- m --><a class="postlink" href="http://www.thehotweb.net/php/wbboard/main.php">http://www.thehotweb.net/php/wbboard/main.php</a><!-- m --><br />
it should look like this:<br />
<!-- m --><a class="postlink" href="http://www.thehotweb.net/beta.shtml">http://www.thehotweb.net/beta.shtml</a><!-- m --><br />
I know there is something that Im doing wrong in HTML, can somebody please help me.<br />
Thank You,<br />
Paul<!--content-->Hacker, lok at your source code on the complete page <!-- m --><a class="postlink" href="http://www.thehotweb.net/php/wbboard/main.php">http://www.thehotweb.net/php/wbboard/main.php</a><!-- m --> then you will see where you are going wrong. A suggestion....<br />
<br />
copy the entire source code from that page and save it to a html page and view it and make any adjustments to get the layout correct, then correct the necessary parts in your templates.<br />
<br />
You have parts like this:<br />
</font></td><br />
</tr><br />
</table></td><br />
</tr><br />
<br />
</table><br />
&nbsp;<br />
</table> <== No closing td or tr tags first?<br />
<p><br />
</td><br />
</table><br />
</TD><br />
<TD><br />
<br />
which are not helping . Check your page in NS to see how your tables are aligned.<br />
<br />
Keep us posted mate.<!--content-->Thanks Ian,<br />
Turns out good old Front Page was playing tricks with my mind. It finally works, I am so happy I could almost cry. Thanks for your help.<br />
Paul<!--content-->I forgot to mention, can you please view this site in Netscape (if you have it) to see if there aren't any problems.<br />
Thank You,<br />
Paul<!--content-->It looks totally screwed up in NS4* as one could expect from a page that (partially) came out of FrontPage.<br />
<br />
For the first, your nesting of elements is far from correct. Ie. you cannot have any content in a table outside of a <TD> (column) and you have to place the column in a table row (<TR>). Just to point out one thing that is incorrect and makes a *big* difference.<br />
<br />
Then you should never use id for multiple elements as it is a one-element attribute. Use class if you have multiple occurences.<br />
<br />
You would do good by reading the errors about incorrect nested tags and unallowed elements at the placement from<br />
<!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.thehotweb.net%2Fphp%2Fwbboard%2Fmain.php&charset=%28detect+automatically%29&doctype=HTML+4.01+Transitional">http://validator.w3.org/check?uri=http% ... ansitional</a><!-- m --><!--content-->It looks good in Netscape 6.0, the only differences I see from IE 5.5 is that the words "no new posts" for your marker near the top of the page runs off into the white and dark blue area. Also the cells where you have no moderators are white instead of grey. One big plus, for some reason your banner ad isn't showing up in Netscape. If it gets rid of ads I just might go back to using it instead of IE! LOL<!--content-->well if you guys are still having trouble in netscape 4.7 I am just about to give up. Weird the banner isn't showing up in netscape, it's a somple image tag that goes to a PHP banner rotator I own. If you have any tips to make this work in netscape please let me know. If not there is nothing I can do right now, less than 1% of my visitors use netscape 4.7.<br />
Thanks,<br />
Paul<!--content-->
 
Back
Top