Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2013
    Posts
    22
    Plugin Contributions
    0

    Default [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>

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: 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 Code:
                <td colspan="2" valign="top" class="main"
    shows that the second content <td> has a colspan of 2, so the three-column dividers fit in. I'm not sure why the second <td> was given a two-column span.

  3. #3
    Join Date
    Nov 2013
    Posts
    22
    Plugin Contributions
    0

    Default Re: Invalid colspan values in HTML of products_all_listing table

    Quote Originally Posted by gjh42 View Post
    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.

  4. #4
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: 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.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

 

 

Similar Threads

  1. Invalid Option Values Selected
    By AvieF in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 19 Nov 2009, 10:56 PM
  2. Replies: 2
    Last Post: 19 Nov 2009, 07:48 AM
  3. [Not a bug] 1.3.8 HTML e-mail with language pack
    By jurjenruben in forum Bug Reports
    Replies: 16
    Last Post: 12 Jun 2008, 09:28 AM
  4. [Not a bug] table structure problem
    By clydejones in forum Bug Reports
    Replies: 8
    Last Post: 5 May 2007, 02:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR