apswater
VP-CART Super User
 
444 Posts |
Posted - April 20 2018 : 17:27:04
|
I was getting some of my shopdisplayproducts pages messed up. The side bars would move towards the center and overlap the center of the page.
I edit a product on that page and simple don''t change anything except to save it again. I do this to every product on the poorly formatted page. Once I have re-saved all the products, the page formats fine.
I found this change.
Before the save I have this code in my product description:
<div class="productdesc">25 x 80 mm Cellulose Extraction Thimbles 25/pk<br><br><font color=red size=1><b>*A $200.00 minimum purchase on all Ahlstrom product orders. You can mix different Ahlstrom products to meet this minimum. <font color=black>
<br /> <a href="/xxxx/shopa_addproduct.asp?page=1&which=23196&IDField=catalogid&table=products&Database=">Edit</a></div>
No reviews
</div>
After I save it changes it to :
<div class="productdesc">22 x 80 mm Cellulose Extraction Thimbles 25/pk<br /> <br /> <span style="font-weight: bold; font-size: 8pt; color: red;">*A $200.00 minimum purchase on all Ahlstrom product orders. You can mix different Ahlstrom products to meet this minimum. <span style="color: black;"> </span></span>
<br /> <a href="/xxxx/shopa_addproduct.asp?page=1&which=23195&IDField=catalogid&table=products&Database=">Edit</a></div>
No reviews
</div>
----------
My products are imported from an old 4.5 database so it has old html links and such in descriptions. I have over 28000 products and really can''t go through each one by one.
My question is, why does this change the formatting so badly and could it be just change :
<font color=red size=1>
to
<span style="font-weight: bold; font-size: 8pt; color: red;"> ???
Not being very good at css, can someone explain why it screws up the formatting until I save it which converts that line aLONG WITH THE <BR>''S TO <BR />?
|
Edited by - apswater on April 25 2018 14:27:30 |
|