Hi all , i have one problem regarding script tag ... i mean i m using <div> tag layout .... and in which i want to put content + google ad as content( some part ) in left align and beside the google ad ... how to do it ? <div align='left' > some text <div align='right'> <script>//google ad code </script> </div> </div> Code (markup):
You cant nest <div> tags with diffrent alignments. You should always in them cases use the CSS float: property.
Hi kajsng, i got the solution for this thanks for your advice ... here is the solution i do ... ///css class for div tag .adtag { float: right; text-align: right; clear: none; } ///// <div class="adtag" style="width:336px;margin:8px;"> Code (markup): thanks ....
On a related note, anyone know how to take these and make them all be on one line and right justified? I have no clue how to do it but would love if someone could show me here. There are like 4 different items here. twitter, fb like, add this, and google +1. Some script and some not. As it is the +1 goes to an additional line under the rest...so I would like all 4 on one line and hopefully all to the right side of the page. {source}<div class="addthis_toolbox addthis_default_style "><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><script type="text/javascript">var addthis_config = {"data_track_clickback":true,"data_track_addressbar":true};</script><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=mjindustry"></script><!-- Place this tag where you want the +1 button to render --> <g:plusone size="tall" annotation="inline"></g:plusone> <!-- Place this render call where appropriate --> <script type="text/javascript"> (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); Code (markup): Thanks for any help!
Just make a point of adding Algin="left" or Align="right" inside the first table ... First off, you only use a left or right Align to get the text started.