A akhi_234 Member Dec 30, 2011 #1 hi, i want to align my ads in the message body to the right but ad_message_body simply add the ads in the body without any such alignment. can somebody suggest what to do? Thanks & Regards
hi, i want to align my ads in the message body to the right but ad_message_body simply add the ads in the body without any such alignment. can somebody suggest what to do? Thanks & Regards
Paul B XenForo moderator Staff member Dec 30, 2011 #2 wrap them in a div using float:right. <div style="float: right"> ad code </div> Upvote 0 Downvote
Dodgeboard Well-known member Dec 30, 2011 #3 30 seconds to get an answer. Wow. Ninja Brogan. Upvote 0 Downvote
A akhi_234 Member Dec 30, 2011 #4 now the ads are not displaying at all, i have simply put this; <xen:hook name="ad_message_body" /> <div style="float: right> <script type="text/javascript"><!-- google_ad_client = "ca-pub-xxxxxxxxx"; /* homebuying message */ google_ad_slot = "xxxxxx"; google_ad_width = 200; google_ad_height = 200; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> Upvote 0 Downvote
now the ads are not displaying at all, i have simply put this; <xen:hook name="ad_message_body" /> <div style="float: right> <script type="text/javascript"><!-- google_ad_client = "ca-pub-xxxxxxxxx"; /* homebuying message */ google_ad_slot = "xxxxxx"; google_ad_width = 200; google_ad_height = 200; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div>
Paul B XenForo moderator Staff member Dec 30, 2011 #5 You're missing a " <div style="float: right"> Upvote 0 Downvote