Float Left & Right with Scripts

akazzz

Regular Member
Joined
Dec 17, 2011
Messages
382
Reaction score
152
Anyone know of the html code that allows float left and right on the same line? or a table plugin that works with scripts

I have been trying almost all the float left and right html code on none seems to work with <script> & google adsense code.
 
I don't know if it's because I've been up all night, but I don't understand what your trying to do. I'll be happy to help once I understand.
 
Try this... this worked for me before when I was using Adsense. Just replace the ad code with yours. This code allows to display to ads side-by-side. I think that is what you mean by "same line". Apologize if I'm wrong.
[FONT=&amp]<table width=100% border=0>[/FONT]
[FONT=&amp]<tr>[/FONT]
[FONT=&amp]<td align=center width=50%>[/FONT]
[FONT=&amp]<script type="text/javascript"><!--[/FONT]
[FONT=&amp]google_ad_client = "pub-insert your own publisher ID here";[/FONT]
[FONT=&amp]/* 250x250, created 3/20/10 */[/FONT]
[FONT=&amp]google_ad_slot = "9471126426";[/FONT]
[FONT=&amp]google_ad_width = 250;[/FONT]
[FONT=&amp]google_ad_height = 250;[/FONT]
[FONT=&amp]//-->[/FONT]
[FONT=&amp]</script>[/FONT]
[FONT=&amp]<script type="text/javascript"[/FONT]
[FONT=&amp]src="http://pagead2.googlesyndication.com/pagead/show_ads.js">[/FONT]
[FONT=&amp]</script>[/FONT]
[FONT=&amp]</td>[/FONT]
[FONT=&amp]<td align=center width=50%>[/FONT]
[FONT=&amp]<script type="text/javascript"><!--[/FONT]
[FONT=&amp]google_ad_client = "pub-insert your own publisher ID here";[/FONT]
[FONT=&amp]/* 250x250, created 3/20/10 */[/FONT]
[FONT=&amp]google_ad_slot = "9471126426";[/FONT]
[FONT=&amp]google_ad_width = 250;[/FONT]
[FONT=&amp]google_ad_height = 250;[/FONT]
[FONT=&amp]//-->[/FONT]
[FONT=&amp]</script>[/FONT]
[FONT=&amp]<script type="text/javascript"[/FONT]
[FONT=&amp]src="http://pagead2.googlesyndication.com/pagead/show_ads.js">[/FONT]
[FONT=&amp]</script>[/FONT]
[FONT=&amp]</td>[/FONT]
[FONT=&amp]</tr>[/FONT]
[FONT=&amp]</table>
[/FONT]
[FONT=&amp]
[/FONT]
 
That code from ezines just worked for me! Awesome! Now, the weird problem is there's a border around the table even with "border=0"

How can I get rid of it?
 
There might be a border on something inside the table, I would have to take a look.

But you can try using css.

<table width="100%" border="0" style="border:0px">
 
Doesn't seem to work. I tried adding a border color to be the same as a background by adding "bordercolor=white" and still doesn't work.
 
The border code weirdly did not work. However I got everything fixed!

I used WP table reloaded and did a little re-edit on the adsense code which wasn't displaying the code and deleted the border around that table and it worked!
 
Back
Top