bdelatte
asked on
Float Button
I got a translate button from http://translateth.is for my squarespace site. www.puertacielocr.com
I would like the button to float above header image on the top right side of the screen. Right now it pushes the website down and makes a white bar across the top (ugly).
Any Ideas?
<!-- Begin TranslateThis Button -->
<div id="translate-this"><a style="width:180px;height: 18px;displ ay:block;" class="translate-this-butt on" href="http://translateth.is/">Translate</a></div >
<script type="text/javascript" src="http://x.translateth.is/translate-this.js"></script>
<script type="text/javascript">
TranslateThis();
</script>
<!-- End TranslateThis Button -->
I would like the button to float above header image on the top right side of the screen. Right now it pushes the website down and makes a white bar across the top (ugly).
Any Ideas?
<!-- Begin TranslateThis Button -->
<div id="translate-this"><a style="width:180px;height:
<script type="text/javascript" src="http://x.translateth.is/translate-this.js"></script>
<script type="text/javascript">
TranslateThis();
</script>
<!-- End TranslateThis Button -->
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window
Then add this stylingOpen in new window
Position absolute gives you much greater control for positioning an element exactly where you want it than using float.