Google Translate seems to be changing my html, moving my asterisk to a new line.
Here is a live example: jsbin
How can I avoid this?
Before Translating:
After Translating to Spanish:
JS:
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
autoDisplay: false
}, 'google_translate_element');
}
Css:
.box_content-form-data {
clear: both;
float: left;
}
Html:
<div id="google_translate_element"></div>
<span style="clear:both; float:left;">Enter your email account.</span>
<span class="box_content-form-data">
<label>Email Address:
<span style="color:red;">*</span>
</label>
</span>
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
from? That site should have all the info you need – Bromberg*
with*
and see if that works in your html. – Summersummerhouse