QC 2.2: long lines in product description break layout

beholder

Avatar: beholder

2008-01-01 20:26

for example this line in product description:
Linka na produkt u výrobcu: http://cz.lge.com/prodmodeldetail.do?actType=search&page=1&modelCategoryId=080401&categoryId=08040 1&parentId=08&modelCodeDisplay=HT902TB&unit=NOTHING&model=Select+a+model

the line does not contain a real html link, because I don't want it to be. It is supposed to be a text line. But it breaks QC, because the product + description doesn't fit into the width besides the menu1 and whole product + description end UNDER the menu1. Bad.

Is there any way how to quickly fix this, either via CSS or a small code injection?

Best regards,

» Quick.Cart v2.x

beholder

Avatar: beholder

2008-01-01 20:28

It probably supposed to be mentioned that I generate those descriptions via a custom script, not enter then via admin section of QC system.

beholder

Avatar: beholder

2008-01-01 21:45

Oh, I meant on IE6 (SP2). Opera just displays line that is too long, with right layout. Didn't check the Fireferret.

beholder

Avatar: beholder

2008-01-01 22:01

I just found a solution.

Edit the templates/default.css file or your custom css file and add
"word-wrap: break-word;" (without quotes) to the #productDetails .txt

Nice.

beholder

Avatar: beholder

2008-01-01 22:07

You may also add "overflow:hidden;" (without quotes) for Opera 9 to hide the line that is too long. It's much nicer that way, although the layout wasn't really broken in Opera.

Back to top
about us | contact