Jump to content

Header at Bottom


Recommended Posts

I can't figure this out. I've customized my site (still working with text colors, so please ignore that)

 

I've edited the header.tpl file. The code looks like this

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset={$charset}" />
<title>{$companyname} - {$pagetitle}</title>
<link rel="stylesheet" type="text/css" href="http://www.silkenstrand.com/dev/elements/smallbusinessmarketing2.css" />
<link rel="stylesheet" type="text/css" href="templates/{$template}/style.css" />

</head>
<body>

<div class="wrapper">

<body bgcolor="#859845">
<table width="750" border="0" cellpadding="0" cellspacing="0" align="center">
 <!--DWLayoutTable-->
 <tr> 
   <td width="750" height="57" valign="top"><table width="750" border="0" cellpadding="0" cellspacing="0">
 <!--DWLayoutTable-->
 <tr> 
   <td width="123" height="58" valign="middle" class="logo"><img src="http://www.silkenstrand.com/dev/images/logo.gif" alt="Small Business Marketing" width="123" height="39"></td>
   <td width="433" valign="middle" class="logo">    Marketing 
     Experts for Small & Medium Sized Businesses</td>
   <td width="193" valign="top" class="menu1"><a href="http://www.silkenstrand.com/contact.php">Contact Us</a> 
     | <a href="http://www.silkenstrand.com/index.php">Home</a></td>
 </tr>
</table>
</td>
 </tr>

 

Unfortunately, when I go into my further into my client screens my header falls under other items on the page inserted by WHMCS. Any idea how to get my header to always be at the top?

 

Any ideas?

 

http://www.silkenstrand.com/support/whmcs/

 

And she calls herself a web developer!

 

Tina

Link to comment
Share on other sites

Hi Tina,

 

A few things I see by viewing source on your KB page:

  • Two <body> tags
  • A missing </table> tag for <table width="750" border="0" cellpadding="0" cellspacing="0" align="center">
  • Text outside of a container (this is the text going above the logo)

Hope this helps,

 

Rick

Link to comment
Share on other sites

G'day Tina,

I'm certainly no web coder but here's my best effort.

Is there a </div> corresponding to the "<div class="wrapper">"?

 

This combination doesn't look right either:

</table>

</td>

</tr>

 

There are no entries above the corresponding <table ..... > element. Except of course the opening elements without the corresponding closing code.

 

Looks like it's still in development, maybe this bit was missed in the clean up.

 

Cheers,

 

Mike

Link to comment
Share on other sites

Thanks a ton... all for the want of a closing table tag. I remember thinking that it needed one... but thinking that it was closed elsewhere. I guess not! Now I can move on to complete the customization process.

 

Tina

 

I understand. Sometimes it is easier to view the source of your live page, in order to get a view of what is generated by the templates. Also, there's an extension called "Web Developer" that is compatible with most modern browsers (Firefox, IE, Opera). It is a lifesaver for debugging web pages.

 

Rick

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