Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Strange looking wrapped text in desc.. why?

Strange looking wrapped text in desc.. why?

Locked

Views: 632

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
9 Feb 2009, 5:20 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Strange looking wrapped text in desc.. why?

You have a long string of tables and ul lists in your description, and I see a bunch of empty tds, tables ending and starting in odd places... I fixed a few things in Edit HTML, but it's too convoluted for me to find the real problems that way.

You need to go back and redo that description, or put it in a good HTML/file editor and fix it.

9 Feb 2009, 5:27 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Strange looking wrapped text in desc.. why?

The site looks very odd in FireFox... css issues I would imagine.

9 Feb 2009, 6:42 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Strange looking wrapped text in desc.. why?

I think it's first due to one or more incorrect table element tags. Then CSS may be involved.

9 Feb 2009, 7:03 PM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: Strange looking wrapped text in desc.. why?

Putting the view source of that description in Notepad++ and breaking all the elements into separate lines, you can see the error where a table ends and table elements are placed without a container.```html

<!--bof Product description --> <div id="productDescription" class="productGeneral biggerText"> <ul><li>Note:Sedan 2wd 4cyl.(Incl 1.8T)</li></ul> <p>TEIN type BASIC damper offers a high quality coilover system at an entry level price. Drivers will feel in increase in stability, and grip, while maintaining good ride quality on the street and freeway. A shortened shell case is utilized to allow for better ride and improved performance at lowered ride heights. BASIC damper is a great option for consumers wanting a simple and quality made coilover. Each application is test fitted and road tested to ensure the best possible balance between comfort and performance on the street. Includes ride height adjustment to give your vehicle a minor to major drop. </p> <p>Additional Features</p> <ul><li>Steel Construction</li> <li>Twin Tube internal construction</li> <li>Larger piston diameter for strut type front and rear (22mm)</li> <li>Ride Height adjustable via spring seat</li> <li>Powder coated damper body with Zinc coated threaded section</li> <li>1-year Manufacturers Defect Warranty</li> <li>Available for Overhaul</li> </ul> <p>Contents of Damper Kit</p> <ul><li>Shock Absorber ? 4</li> <li>Main Spring ? 4</li> <li>Some applications include helper springs</li> <li>Seat Lock ? 12</li> <li>Bump Rubber ? 4</li> <li>Hook Spanner ? 2</li> <li>Dust Cover x 4</li> <li>Instruction Manual ? 1</li> <li>Sticker Sheet ? 1</li> </ul> <table><caption>Spring Rate</caption> <thead> <tr> <th>kgf/mm</th> <th>lbs/in</th> <th>Part #</th> <th>kgf/mm</th> <th>lbs/in</th> <th>Part #</th> </tr> </thead> <tbody> <tr> <td>8</td> <td>448</td> <td>SB080-01200</td> <td>9</td> <td>504</td> <td>S5G81-0U090</td> </tr> </tbody> <tfoot></tfoot> </table> +1.0 </td> <td>56</td> <td>~-1.0</td> <td>-56</td> <td></td> <td></td> <td></td> <td></td> <td>OEM <table><caption>Ride Height</caption> <thead> <tr> <th>mm</th> <th>inch</th> <th>mm</th> <th>inch</th> </tr> </thead> <tbody> <tr> <td>-39</td> <td>-1.5</td> <td>-21</td> <td>-0.8</td> </tr> </tbody> <tfoot></tfoot> </table> <table><caption>Ride Height Adjust Range</caption> <thead> <tr> <th>Max/Min(mm/inch)</th> <th>Max/Min(mm/inch)</th> </tr> </thead> <tbody> <tr> <td>-28-1.1~-73.96-2.9</td> <td>80.3~-36.2-1.4</td> </tr> </tbody> <tfoot></tfoot> </table> <ul><li>EDFC Available Part #-</li> <li>EDFC Strut kit Part #</li> <li>Note:</li> </ul> </div> <!--eof Product description -->

</table>
+1.0
</td>
<td>56</td>
<td>~-1.0</td>
<td>-56</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>OEM
<table><caption>Ride Height</caption>

This is obviously wrong. Everything between the </table> and <table> is outside the description table format, so may interfere with the #contentMainWrapper table layout.