Zen Cart Logo
Forums / Bug Reports / [Not a bug] Invalid colspan values in HTML of products_all_listing table

[Not a bug] Invalid colspan values in HTML of products_all_listing table

Locked

Views: 1,918

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
1 Jan 2014, 5:56 PM
#1
yukionna avatar

yukionna

New Zenner

Join Date:
Nov 2013
Posts:
22
Plugin Contributions:
0

[Not a bug] Invalid colspan values in HTML of products_all_listing table

There seems to be a defect in the HTML code where the colspan is defined at "3" in a table that only has 2 columns. This doesn't seem to affect the display of the table but I thought I would mention it here anyhow as I've found that sometimes tables do weird things down the line if upstream values aren't correct.

File: /includes/templates/template_default/templates/tpl_modules_products_all_listing.php

Line 33: <td colspan="3"><hr /></td>
Line 387: <td colspan="3" valign="top" class="main">
Line 403: <td colspan="3"><hr /></td>

1 Jan 2014, 8:26 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: [Not a bug] Invalid colspan values in HTML of products_all_listing table

You must have used some utility that has added double-spacing to every line. The original file only has 215 lines, and the lines you refer to are 17, 194 and 202 in the original.

Line 155:```php
<td colspan="2" valign="top" class="main">

2 Jan 2014, 11:53 PM
#3
yukionna avatar

yukionna

New Zenner

Join Date:
Nov 2013
Posts:
22
Plugin Contributions:
0

Re: [Not a bug] Invalid colspan values in HTML of products_all_listing table

gjh42:

You must have used some utility that has added double-spacing to every line. The original file only has 215 lines, and the lines you refer to are 17, 194 and 202 in the original...
Very weird. I'm using Komodo and am not sure why it does that.

3 Jan 2014, 4:22 AM
#4
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: [Not a bug] Invalid colspan values in HTML of products_all_listing table

Look in preferences and line spacing, Dreamweaver by default used to add 'double spacing' to everything it opened... headache.