Jump to content

I messed up my coding!


MultiHosts

Recommended Posts

Hello all.

 

Have been trying to customise WHMCS with my companys new design, rather than using the WHMCS service like I did the first time around. I've done okay so far, but somethings gone wrong.

 

http://viebo.co.uk/ - It should look like that ;)

 

http://my.viebo.co.uk/ - But it looks like that...

 

I've probably just deleted something by mistake, or foregot a > somewhere, but I can't spot it. Can anybody give me a hand?

 

Cheers.

Link to comment
Share on other sites

Looks like the footer div is in the wrong place.

 

I thought that when I first looked at it, but the footer div is in the correct place in footer.tpl. So I'm still confused.

 

My footer.tpl file is as follows:

 

 </td>
		<br />	
	</div>
</div>		
<div id="footer">
	<p>
	Copyright © 2008 <strong>Viebo Internet Solutions</strong>
	      
	<a href="http://viebo.co.uk/index.php">Home</a> | 
	<a href="http://viebo.co.uk/policys.php">Policys</a> | 
	<a href="http://my.viebo.co.uk/announcements.php">Announcements</a>
	</p>	
</div>
</div>
</body>
</html>

Link to comment
Share on other sites

It seem like you forgot to close some tag.

 

 

Edited:

You need to close the these two tags:

 

 
Line:27     
<tr><td style="padding:0px">

Line:31 & 32 
 <table cellpadding="0" cellspacing="0" width="100%">
   <tr>

 

Place before your

 

   </div>
 </div>
 <div id="footer">

 

</tr></table></td></tr>   

 

Also in the begining of your code you have:

 

 <div id="full">
   <h1>My Viebo</h1>
   <tr><td><table width="100%" cellpadding="0" cellspacing="0" style="border-bottom:1px solid #CCCCCC; background:#EFEFEF;"><tr><td height="30">You are here: <a href="index.php">Support</a></td><td style="text-align:right;">Please <a href="clientarea.php">Login</a> or <a href="register.php">Register</a></td></tr></table></td></tr>

 

Which I believe it suppose to be:

 

 <div id="full">
[color=red][b]<table>[/b][/color]
   <h1>My Viebo</h1>
   <tr><td><table width="100%" cellpadding="0" cellspacing="0" style="border-bottom:1px solid #CCCCCC; background:#EFEFEF;"><tr><td height="30">You are here: <a href="index.php">Support</a></td><td style="text-align:right;">Please <a href="clientarea.php">Login</a> or <a href="register.php">Register</a></td></tr></table></td></tr>


Link to comment
Share on other sites

You can do this, put the header and the footer content in one file and make sure all the tags are closed and then <-- comment --> the separation for the header and footer files so I will know exactly where to end the header.tpl and begin the footer.tpl. GL!

 

Just noticed you also forgot to add:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

back to your header.tpl

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated