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
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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.