Qondio
Front
Intel
IntelMart
Shares
My Qondio
Account
David Parton > Intel > Getting text to wrap around ads in Wp Blogs

qondio.com/Oevk PRINT EMAIL

Getting text to wrap around ads in Wp Blogs

If you are adding images or ads or adsense to your wp blog, you will find that it may not display the way you would like it to.

Placing your adsense or image code first followed by the text will put your ad on top and the text, in a new paragraph just below it.

If you would like your text to wrap around the ad (like a newspaper wraps text around images) you only need to add a little extra code.

Below is the complete code for an adsense ad with the text wrapping.

All you need to do is:

1. add (<p style="display: block; float: left; margin: 0px 10px 0px 0px">) -without the brackets,just before the ad or image code.

2. add </p> at the end of the image code.

3. see the example below.

4. Pretty simple,huh?


<p style="display: block; float: left; margin: 0px 10px 0px 0px"><script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXXX";
/* test 300x250 */
google_ad_slot = "XXXXXXXXXX";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>

External Links

Instant Credit card Approval | Healthy Cooking Tips and Recipes | High Blood Presssure Pills and Hypertension

Contributed by David Parton on March 6, 2008, at 6:38 PM UTC.

Reactions

No reactions yet.

Rate This Intel

Please login or sign up to rate this intel.

Comments

Please login or sign up to add a comment.

Share

Copyright Notice

The copyright for this content entitled "Getting text to wrap around ads in Wp Blogs" has been specified by the contributor as:

All Rights Reserved

This content may not be copied, distributed or adapted by anyone under any circumstances.

Login Here with
Any Email Address
Any Password
No account? Sign up.

Intel Contributor
This intel was contributed by David Parton


David Parton

Qondio Archive
May, 2012
123456
78910111213
14151617181920
21222324252627
28293031


2008
January, February, March, April, May, June, July, August, September, October, November, December
2009
January, February, March, April, May, June, July, August, September, October, November, December
2010
January, February, March, April, May, June, July, August, September, October, November, December
2011
January, February, March, April, May, June, July, August, September, October, November, December
2012
January, February, March, April, May

Sign Up
Not a member yet? Qondio is a powerful network for making it online. If you have a website to promote, we can help. Sign up and get in on the action.

About Qondio
Welcome to Qondio! Discover the awesome power this network can deliver by going to our About page. Or you could skip straight to the Sign Up form.

ABOUT
SUCCESS GUIDE
FEATURES
FAQ
ADVERTISE
CONTACT
USAGE POLICY
PRIVACY POLICY


TWITTER
FACEBOOK