Jump to content

Google Trananslation at top of page


MyMammothTech

Recommended Posts

I am trying to get the tool to be even with the text that is on the right.  I have tried putting in every spot that I can think of but it keeps kicking up or down never even.

 

www.MyMammothList.com

 

code:

 

<div class="header_top">

 

          <div class="header_top_res">

         

          <div id="google_translate_element"></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>

 

              <p>

 

              <?php echo cp_login_head(); ?>

 

              <a href="<?php if (get_option('cp_feedburner_url')) { echo get_option('cp_feedburner_url'); } else { echo get_bloginfo_rss('rss2_url'); } ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/icon_rss.gif" width="16" height="16" alt="rss" class="srvicon" /></a>

 

              <?php if (get_option('cp_twitter_username')) : ?>

                   | 

                  <a href="http://twitter.com/<?php echo get_option('cp_twitter_username'); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/icon_twitter.gif" width="16" height="16" alt="tw" class="srvicon" /></a>

              <?php endif; ?>

             

               | 

             

              <a href="http://www.facebook.com/#!/pages/Mammoth-Lakes-CA/MyMammothTech/111747492182127"title="Check out my Facebook Fan Page" target="_blank"><img src="http://www.mymammothlist.com/images/facebook.png" width="16" height="16" alt="facebook" class="srvicon"/></a>

 

   | 

             

              <a href="http://www.mymammothlist.com/feed/"title="Check out my Blogger Feed" target="_blank"><img src="http://www.mymammothlist.com/images/feed.png" width="16" height="16" alt="facebook" class="srvicon"/></a>

              </p>

 

          </div><!-- /header_top_res -->

 

        </div><!-- /header_top -->

Link to comment
https://forums.phpfreaks.com/topic/206888-google-trananslation-at-top-of-page/
Share on other sites

This is a css issue. You will need to do one of two things

 

Create a container div for the text on the right and the google translation together and give the child div's widths that allow them to be on the same line or use absolute positioning. Either way you will get a better response if you provide more code and post in the css forums.

Thanks will do

 

 

This is a css issue. You will need to do one of two things

 

Create a container div for the text on the right and the google translation together and give the child div's widths that allow them to be on the same line or use absolute positioning. Either way you will get a better response if you provide more code and post in the css forums.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.