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

Tables Template not lining up

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-09-2008, 09:27 AM
 
aimeea aimeea is offline
 

Advanced Member
  
Join Date: May 2008
Posts: 33
 

Default Tables Template not lining up

Could someone help me to figure out why my tables are pushing out? I would like to keep my images at this size, but make the information part(product description) more narrow.

I have the container set to 950

Thank you for any help
Attached Thumbnails
Click image for larger version

Name:	Picture-5.jpg
Views:	270
Size:	36.8 KB
ID:	991  
__________________
Version 4.1.10
Reply With Quote
  #2  
Old 06-10-2008, 12:26 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Tables Template not lining up

Quote:
Originally Posted by aimeea
Could someone help me to figure out why my tables are pushing out? I would like to keep my images at this size, but make the information part(product description) more narrow.

I have the container set to 950

Thank you for any help


Give a link to this page. On this page design does not stretch the product description but something below.
Reply With Quote
  #3  
Old 06-17-2008, 09:42 AM
 
aimeea aimeea is offline
 

Advanced Member
  
Join Date: May 2008
Posts: 33
 

Default Re: Tables Template not lining up

http://www.aimeeasher.com/shoppe/product.php?productid=1&cat=0&page=1

Here is the link... thank you for any help.
__________________
Version 4.1.10
Reply With Quote
  #4  
Old 06-17-2008, 08:27 PM
 
paul@dimoda.com.au paul@dimoda.com.au is offline
 

Senior Member
  
Join Date: Aug 2007
Location: Perth, Australia
Posts: 148
 

Default Re: Tables Template not lining up

The easiest way to resolve these sort of layout and design issues is to install the firefox firebug addon which will let you play around with html and css attributes on screen.

Then use your webmaster modre to located the correct template (product.tpl i believe in this case) and try the changes.
__________________
X-Cart Gold 4.1.10, 4.1.18, 4.4.4, 4.4.5
Reply With Quote
  #5  
Old 06-18-2008, 12:07 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Tables Template not lining up

Quote:
Originally Posted by aimeea

Ok... i took first 15-20 lines from html-source this page.

Quote:
...........................
<body onload="javascript: try { fcOnLoad();; } catch(e) { }; if (isset(window.fancy_body_is_load)) fancy_body_is_load = true;">
<table class="Container"align="center" cellpadding="0" cellspacing="0" width="950px">
<tr><td class="main-border">

<body bgcolor="#F4FFE4">
<div align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#D5EDB3">
<td width="90" height="101"><a href="http://www.aimeeasher.com/shoppe"><img src="http://www.aimeeasher.com/shoppe/skin1/images/logo.jpg" width="950" height="151" border="0" /></a></td>
</tr>


<tr>
<td height="30" bgcolor="#99CC66"><div align="center"><span class="style1"> :: <a href="http://www.aimeeasher.com/shoppe" class="style2">Home</a> :: <a href="http://www.aimeeasher.com/shoppe/home.php">Shoppe</a> :: Gallery :: Forum :: Blogs :: <a href="http://www.aimeeasher.com/shoppe/help.php?section=contactus&amp;mode=update">Contac t</a> :: News :: <a href="http://www.aimeeasher.com/shoppe/cart.php">Shopping Cart</a> :: </span></div></td>
</tr>
</table>
</div>
</body><table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" class="HeadThinLine"><img src="/shoppe/skin1/images/spacer.gif" class="Spc" alt="" /></td>
</tr>.................
Reply With Quote
  #6  
Old 06-18-2008, 05:42 AM
 
aimeea aimeea is offline
 

Advanced Member
  
Join Date: May 2008
Posts: 33
 

Default Re: Tables Template not lining up

Quote:
Originally Posted by Yurij
Ok... i took first 15-20 lines from html-source this page.

Thank you for trying to help me... was there something I need to change in the 15 lines you have pulled?
__________________
Version 4.1.10
Reply With Quote
  #7  
Old 06-18-2008, 06:29 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Tables Template not lining up

Quote:
Originally Posted by aimeea
Thank you for trying to help me... was there something I need to change in the 15 lines you have pulled?

No, you need to find a template in which inserted an additional "<body> ...</ body>" and remove this tag.


Probably it is in the file:
"skin1/rectangle_top.tpl" or "skin1/head.tpl".


And find file with this code (i think this is a "skin1/bottom.tpl") and change width first table from 950px to 100%...

PHP Code:
<table width="950px" cellpadding="0" cellspacing="0"><tr>
<
td class="Bottom" align="center">Copyright &copy2008 Aimee Asher≥ Inc...dba Aimee Asher≥ Elite<br><a href="http://www.hybridtop50.com/"><img src="http://www.hybridtop50.com/button.php?u=aimeeash" alt="Hybrid Top 50" border="0" /></a>
<
a href="http://www.scrapbookingtop50.com/cgi-bin/topsite.cgi?user=aimeeash"> <img src="http://www.scrapbookingtop50.com/cgi-bin/counter.cgi?user=aimeeash" alt="Scrapbookingtop50 Counter" border=0> </a>
<
a href="http://www.scrapbookingtop50.com.au/digitaltopsites/"><img src="http://www.scrapbookingtop50.com.au/digitaltopsites/button.php?u=aimeeash" alt="Digital Scrapbooking Top50" border="0" /></a>
</
td>
</
tr></table



first line will be:
<table width="100%" cellpadding="0" cellspacing="0">
..........



After these changes - your problem solved. )))
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 03:30 PM.

   

 
X-Cart forums © 2001-2020