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

My Site Width not fixed

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-25-2009, 04:25 AM
  AusNetIT's Avatar 
AusNetIT AusNetIT is offline
 

Senior Member
  
Join Date: Apr 2009
Posts: 152
 

Default My Site Width not fixed

HI All,

My site width set to 975 but when i open this site it is going wider and then set to 975?

http://www.sparktrading.com.au

Can someone help pls.

rectangle_top.tpl
<TABLE align="center" border="0" cellpadding="0" cellspacing="0" width="975">
<TR>
<TD valign="top"><DIV style="position: absolute;" id="div_null"></DIV>

customer/main/products_t.tpl


{* $Id: products_t.tpl,v 1.30.2.12 2008/07/15 12:07:40 ferz Exp $ *}
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" cellpadding="5" cellspacing="1">
{math equation="floor(100/x)" x=$config.Appearance.products_per_row assign="width"}
{section name=product loop=$products}
{assign var="discount" value=0}
{if %product.index% is div by $config.Appearance.products_per_row}
<tr>
{assign var="cell_counter" value=0}
{/if}
{math equation="x+1" x=$cell_counter assign="cell_counter" }
<td width="{$width}%" class="PListCell">
<td width="{$width}%" class="PListCell" onmouseover="this.className='PListCellOver'" onmouseout="this.className='PListCell'">

Thanks,
__________________
Melbourne website design | SEO in Melbourne

Installed Ver 4.6.0
Reply With Quote
  #2  
Old 05-25-2009, 05:48 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: My Site Width not fixed

The image in the middle of the home apge is to wide making the site stretch to larger that 975. Make the iamge smaller and the home page should shrink in width a bit.

Looks like there is some other issue making the dialog box to large also.
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 05-25-2009, 05:52 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: My Site Width not fixed

<div><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<div class="product_records_container" style="margin-bottom: 2px; border #474747 ">
<table cellspacing="0" cellpadding="0" width="620" border="5">

maybe also take out the width="620"

the doctype should be removed also.
__________________
xcart 5.1.2
Reply With Quote

The following user thanks ARW VISIONS for this useful post:
AusNetIT (05-25-2009)
  #4  
Old 05-26-2009, 03:51 AM
  AusNetIT's Avatar 
AusNetIT AusNetIT is offline
 

Senior Member
  
Join Date: Apr 2009
Posts: 152
 

Default Re: My Site Width not fixed

HI,

Thanks, i did that but still got that issue. when you click one of the sub category then that products strach to 975 and adjesing to 3 Product per row?
__________________
Melbourne website design | SEO in Melbourne

Installed Ver 4.6.0
Reply With Quote
  #5  
Old 05-26-2009, 04:49 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: My Site Width not fixed

you don't want the 3 products per row?
__________________
xcart 5.1.2
Reply With Quote
  #6  
Old 05-26-2009, 10:52 AM
  AusNetIT's Avatar 
AusNetIT AusNetIT is offline
 

Senior Member
  
Join Date: Apr 2009
Posts: 152
 

Default Re: My Site Width not fixed

HI Ashly,

Thank you but not quite understand

Quote:
you don't want the 3 products per row?

May be i didn't explain to you properley so i have attaced the pic so you can see what i'm saying.

My Screen is 1440 x 900 ( wide screen)

Thanks,
Attached Thumbnails
Click image for larger version

Name:	error1.jpg
Views:	114
Size:	138.8 KB
ID:	1544  
__________________
Melbourne website design | SEO in Melbourne

Installed Ver 4.6.0
Reply With Quote
  #7  
Old 05-26-2009, 01:30 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: My Site Width not fixed

I can't view the iamge
__________________
xcart 5.1.2
Reply With Quote
  #8  
Old 05-27-2009, 08:29 PM
  AusNetIT's Avatar 
AusNetIT AusNetIT is offline
 

Senior Member
  
Join Date: Apr 2009
Posts: 152
 

Default Re: My Site Width not fixed

HI,

You mean the attached pic?

Thanks
__________________
Melbourne website design | SEO in Melbourne

Installed Ver 4.6.0
Reply With Quote
  #9  
Old 05-28-2009, 12:09 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: My Site Width not fixed

well of course it just poped up now. Earlier it was not showing.

I'll check it out.
__________________
xcart 5.1.2
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 11:24 AM.

   

 
X-Cart forums © 2001-2020