Google 在我的网站上翻译 api

Google Translate api in my website

你好,我在我的网站上使用了下面的代码,但它显示如下 http://rushdainfotech.in/contact.php 谁能帮帮我

<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
  new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

google 翻译方面似乎工作正常。但是,您有一个全局样式:

img {
    max-width: 100%;
    height: auto;
    width:100%;
}

只需将其注释掉或将其移动为 class 基于宽度:100%,它应该看起来不错。