X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Help with my header (https://forum.x-cart.com/showthread.php?t=1743)

psy 03-05-2003 12:07 PM

Help with my header
 
Ok heres the deal, When i try adding my custom header it messes the tables up and doesnt display right on my page i am not sure why. probably an error in my code.

Code:

<TABLE width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="306287">
  <TR>
    <TD width="100%" height="50" valign="top">[img]/storeheader/header.jpg[/img]</TD>
    <TD width="517"></TD>
  </TR>
  <TR>
    <TD colspan="2" height="36" valign="top">
      <TABLE width="100%" border="0" cellpadding="0" cellspacing="0" background="/storeheader/bg.gif">
        <TR>
          <TD width="151" height="36"></TD>
          <TD width="516" valign="top">
            <TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
              <TR>
                <TD width="103" height="31" valign="top">[img]/storeheader/tab1.jpg[/img]</TD>
                <TD width="103" valign="top">[img]/storeheader/tab2.jpg[/img]</TD>
                <TD width="103" valign="top">[img]/storeheader/tab3.jpg[/img]</TD>
                <TD width="103" valign="top">[img]/storeheader/tab3.jpg[/img]</TD>
                <TD width="103" valign="top">[img]/storeheader/tab4.jpg[/img]</TD>
              </TR>
              <TR>
                <TD height="5"></TD>
                <TD></TD>
                <TD></TD>
                <TD></TD>
                <TD></TD>
              </TR>
            </TABLE>
          </TD>
          <TD width="368"></TD>
        </TR>
      </TABLE>
    </TD>
  </TR>
  <TR>
 
  </TR>
</TABLE>


If someone Could please help me with getting this header to work in the head.tpl file id appecaite it.

shan 03-05-2003 12:59 PM

It would help to see what it is you want it to look like

usermike 03-05-2003 01:13 PM

To start you can take out the:

Code:

<TR>

</TR>


at the end of the document.

psy 03-05-2003 01:16 PM

http://www.playrack.com/header.jpg

id like to Just replace the header, with the lang slection on the far right of the header in the frist table.

And the search function below the header but not in the tables.

If you could help me with this id greatly apprecaite it bro.

Thanks!

shan 03-05-2003 01:50 PM

what i usualy do is create new templates for the languages drop down and the search and then include them in my new header file.

Keeps things tidier

psy 03-05-2003 01:55 PM

Well ive tired doing it various ways but it my tables get all messed up on the site for some reason when i do

shan 03-05-2003 01:55 PM

you could use this as a guide

Code:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="left" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="5">
        <tr>
          <td align="left">Put Logo in here</td>
        </tr>
      </table></td>
    <td align="right"><table width="100%" border="0" cellspacing="0" cellpadding="5">
        <tr>
          <td align="right">Put Languages in here</td>
        </tr>
        <tr>
          <td align="right">Put Search Box in here</td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center"><table border="0" cellspacing="0" cellpadding="5">
        <tr align="center">
          <td>Tab 1</td>
          <td>Tab 2</td>
          <td>Tab 4</td>
          <td>Tab 4</td>
          <td>Tab 5</td>
        </tr>
      </table></td>
  </tr>
</table>


psy 03-05-2003 04:58 PM

Hey shan im still having problems do you think you could get with me on icq or some other messagener


All times are GMT -8. The time now is 02:26 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.