问题在于,当我在页面上添加一些额外的JavaScript时,页面上的其余文字会增加字体大小。
以下是我添加到我的页面的代码示例。
<div id='ownedit'>
<script type='text/javascript' src='https://www.ownedit.com/ownedit_js/ownedit.js?store_id=0866c14cd53fff56724c6fd35e72cd07&anchor=ownedit_banner'></script>
<script type='text/javascript'>function post_to_owned_it()
{
var details ={"order_id":"112",
"customer_email":"me@me.com",
"order_currency":"USD",
"store_name":"LocalHost - Getshopped",
"order_value":"16.31",
"products":[{"product_name":"Eprocessing Declined",
"product_url":"http:\/\/www.localhost.com:8080\/getshopped\/products-page\/product-category\/eprocessing-declined\/",
"product_desc":"Eprocessing Declined",
"product_price":"16.31",
"currency":"USD",
"product_id":"9",
"product_quantity":"1",
"product_image_url":"http:\/\/www.localhost.com:8080\/getshopped\/wp-content\/plugins\/wp-e-commerce\/wpsc-theme\/wpsc-images\/noimage.png"}
]};
post_it(details);
}
onLoadCallBack(post_to_owned_it);
</script>
</div>
答案 0 :(得分:2)
owndit.js似乎有一些操纵你的CSS的代码