I created new block and added their "Google translate bar".there are spaces in the border of the block, how can I eliminate them?
the blue circles mark the spaces.
Offline
Can you give us the code that you put ;-)
Offline
<div id="google_translate_element" align="center"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
}
</script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
this code was taken from Google translate site
Offline
In the meantime you can make better
<ul><li><div id="google_translate_element" align="center"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
}
</script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</li></ul>
Offline
11alex11 wrote:
I created new block and added their "Google translate bar".there are spaces in the border of the block, how can I eliminate them?
http://i246.photobucket.com/albums/gg96 … _block.png
just add the class="illustration" property to the <div>
<div id="google_translate_element" align="center" class="illustration"></div>
to ddtddt : I'm not sure adding <ul><li> tags is better... whait is the benefit ?
Offline
grum wrote:
to ddtddt : I'm not sure adding <ul><li> tags is better... whait is the benefit ?
neither, but it solves the problem
Offline