Forum Archive - problem with buttons style (css) after using GTranslate

problem with buttons style (css) after using GTranslate
Dec 25, 2011 10:21 am by pdmwe
Hello, I have installed the free version of Gtranslate, and everytime I switch the language the style of the buttons collapse, all the background colors of the buttons and the colors just disappears, even the size of the buttons collapse to small boxes anybody got solution for that ? I've seen that many users got the same problem, this is one of them : pre-purchase-question-urgent-t1426.html#p5603 Best regards Michal
Re: problem with buttons style (css) after using GTranslate
Dec 25, 2011 4:31 pm by Edvard
Hi, Do you use Redirect translation method? Can you try to validate your site with validator.w3.org? Also, it would be helpful to post your website address.
Re: problem with buttons style (css) after using GTranslate
Dec 26, 2011 10:22 pm by pdmwe
Hello, Thanks for replying, Yes I use redirect method for the translation when it crashes the buttons style but when I use default default google it works good, I checked my website using the suggested validator, thank you for the advice I found like 10 errors in my website  Line 108, Column 30: required attribute "type" not specified<script language="JavaScript"> The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element. Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.  Line 114, Column 166: character "<" is the first character of a delimiter but occurred as data…','778787','949990793917947998942577939317'),l=x.length;while(++a<=l){m=x[l-a]; This message may appear in several cases: You tried to include the "<" character in your page: you should escape it as "&lt;"You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.Another possibility is that you forgot to close quotes in a previous tag. Line 118, Column 19: character ";" not allowed in attribute specification listfor(v=0;v<m.length;){t+=m.charAt(v++);  Line 118, Column 19: element "m.length" undefinedfor(v=0;v<m.length;){t+=m.charAt(v++); You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by: incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case). Line 122, Column 34: character "<" is the first character of a delimiter but occurred as datat='';}}x[l-a]=z;}document.write('<'+x[0]+' '+x[4]+'>.'+x[2]+'{'+x[1]+'}</'+x[0]… This message may appear in several cases: You tried to include the "<" character in your page: you should escape it as "&lt;"You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.Another possibility is that you forgot to close quotes in a previous tag. Line 122, Column 72: character "<" is the first character of a delimiter but occurred as data…ent.write('<'+x[0]+' '+x[4]+'>.'+x[2]+'{'+x[1]+'}</'+x[0]+'>');}dnnViewState(); This message may appear in several cases: You tried to include the "<" character in your page: you should escape it as "&lt;"You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.Another possibility is that you forgot to close quotes in a previous tag. Line 124, Column 9: end tag for "m.length" omitted, but OMITTAG NO was specified</script> You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".  Line 118, Column 10: start tag was herefor(v=0;v<m.length;){t+=m.charAt(v++);  Line 126, Column 24: document type does not allow element "style" here<style type="text/css" > The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed). One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).  Line 280, Column 91: required attribute "alt" not specified…ages/slide1.jpg" class="glassBlock" /></li><li><img src="/xxx2/templates/mar… The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element. Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.  Line 280, Column 175: required attribute "alt" not specified…ages/slide2.jpg" class="glassBlock" /></li><li><img src="/xxx2/templates/mar… The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element. Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.  Line 280, Column 259: required attribute "alt" not specified…ages/slide1.jpg" class="glassBlock" /></li><li><img src="/xxx2/templates/mar… The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element. Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.  Line 280, Column 343: required attribute "alt" not specified…img src="/aaa/templates/xxx/images/slide2.jpg" class="glassBlock" /></li> The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element. Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.  Line 470, Column 6: end tag for element "div" which is not open</div> The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem. If this error occurred in a script section of your document, you should probably read this FAQ entry. Any ideas about the cause of my problem ? I appreciate your help Thank you very much Regards
Re: problem with buttons style (css) after using GTranslate
Dec 29, 2011 12:56 pm by Edvard
Hi, If you are using the Redirect translation method with the free version it uses Google parser and if you have HTML errors on your page you can get not expected output. If you solved all the errors on your site and you still see the error I would suggest you to go Pro which will solve your problems or just run Google Defalut translation method.

SIMILAR TOPICS

Gtranslate MultisiteFeb 12, 2019 7:27 amReplies: 1Post by: infact_dat
Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not definedFeb 22, 2019 12:34 pmReplies: 1Post by: oase
Add-on gtranslate no longer worksFeb 2, 2019 6:01 amReplies: 1Post by: DarylDixon
Joomshaper Pagebuilder buttons Link edit problemJan 11, 2019 10:04 amReplies: 1Post by: kumatest

Try GTranslate with a free 15 day trial