Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Help with my header

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-05-2003, 12:07 PM
 
psy psy is offline
 

Member
  
Join Date: Mar 2003
Posts: 10
 

Default 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.
Reply With Quote
  #2  
Old 03-05-2003, 12:59 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

It would help to see what it is you want it to look like
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 03-05-2003, 01:13 PM
 
usermike usermike is offline
 

Advanced Member
  
Join Date: Jan 2003
Posts: 41
 

Default

To start you can take out the:

Code:
<TR> </TR>

at the end of the document.
Reply With Quote
  #4  
Old 03-05-2003, 01:16 PM
 
psy psy is offline
 

Member
  
Join Date: Mar 2003
Posts: 10
 

Default

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!
Reply With Quote
  #5  
Old 03-05-2003, 01:50 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

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
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #6  
Old 03-05-2003, 01:55 PM
 
psy psy is offline
 

Member
  
Join Date: Mar 2003
Posts: 10
 

Default

Well ive tired doing it various ways but it my tables get all messed up on the site for some reason when i do
Reply With Quote
  #7  
Old 03-05-2003, 01:55 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

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>
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #8  
Old 03-05-2003, 04:58 PM
 
psy psy is offline
 

Member
  
Join Date: Mar 2003
Posts: 10
 

Default

Hey shan im still having problems do you think you could get with me on icq or some other messagener
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:06 AM.

   

 
X-Cart forums © 2001-2020