Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 12th Jul 2011, 03:37 PM   #1
HyperActive Warrior
 
Join Date: 2009
Posts: 428
Thanks: 178
Thanked 13 Times in 13 Posts
Default
Ad Block and Text Don't Look Right
Share on: 
fb share twitter share gplus share more share

Will someone please look at Natural Anxiety Supplements | and tell me what I'm doing wrong? I'm trying to have the text wrap around the ad block, but there's not enough space separating the two and the ad would look better if the top of it was level with the text.

What code do I need to make the ad block and text look right?


CatherineMay is offline  
Unread 12th Jul 2011, 04:01 PM   #2
Active Warrior
 
Join Date: 2010
Location: Hawaii
Posts: 65
Thanks: 4
Thanked 12 Times in 12 Posts
Default
Re: Ad Block and Text Don't Look Right
Share on: 
fb share twitter share gplus share more share

Try using a div block. This works well for me. Use the margin-left attribute to adjust the spacing between the ad and the text.

<div style=”display:block;float:right;margin-left:6px;”>
< adsense code here>
</div>
Anthony C is offline  
Unread 12th Jul 2011, 04:17 PM   #3
HyperActive Warrior
 
Join Date: 2009
Posts: 428
Thanks: 178
Thanked 13 Times in 13 Posts
Default
Re: Ad Block and Text Don't Look Right
Share on: 
fb share twitter share gplus share more share

I am already using a <div> block.<div style=”display:block;float:right;margin: 5px 5px 5px 5px;”>adsense script </div>

I have now gone to a smaller ad (250 x 250), and overall it does look better, but still the top of the ad is below the top of the text. I would prefer to be using the larger ad (300 x 250), but will settle for the small one if need be.

Actually, it only looks better when google puts in regular text ads, instead of the image ads, so I still have a problem. EDIT: changed the adsense settings so that I only have text ads.

Now, does anyone know how to get the tops level?


CatherineMay is offline  
Unread 12th Jul 2011, 04:49 PM   #4
Advanced Warrior
War Room Member
 
Ken Durham's Avatar
 
Join Date: 2009
Location: Chesterton, IN
Posts: 936
Thanks: 128
Thanked 187 Times in 146 Posts
Default
Re: Ad Block and Text Don't Look Right
Share on: 
fb share twitter share gplus share more share

You might try using negatives. Be sure to cross browser check. You could use a little padding to the left, as shown here.

<div style="display:block;float:right;margin: -25px 0 0 5px; padding-left:5px;">

yes, I am....
Ken Durham is offline  
The Following User Says Thank You to Ken Durham For This Useful Post:
Unread 12th Jul 2011, 04:58 PM   #5
HyperActive Warrior
 
Join Date: 2009
Posts: 428
Thanks: 178
Thanked 13 Times in 13 Posts
Default
Re: Ad Block and Text Don't Look Right
Share on: 
fb share twitter share gplus share more share

Thanks so much, Ken...that was exactly what I needed.

You've saved my day!


CatherineMay is offline  
Unread 12th Jul 2011, 05:07 PM   #6
Advanced Warrior
War Room Member
 
Ken Durham's Avatar
 
Join Date: 2009
Location: Chesterton, IN
Posts: 936
Thanks: 128
Thanked 187 Times in 146 Posts
Default
Re: Ad Block and Text Don't Look Right
Share on: 
fb share twitter share gplus share more share

Originally Posted by CatherineMay View Post

Thanks so much, Ken...that was exactly what I needed.

You've saved my day!
Glad I could help

yes, I am....
Ken Durham is offline  
Closed Thread


Bookmarks

Tags
block, text


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 06:52 PM.