A little help with text wrapping

TJ Grymes

its one louder
Sep 6, 2008
27
0
0
On one of my Wordpress sites i'm wrapping text around my Adsense blocks in the upper left corner of the posts. I need to put a border around the adsense blocks because my text wraps around the block and runs right up against the add, which is usually an image add so it looks like shit.

I tried adding a border property to the css for the text wrap but I cant seem to get it right. Can anyone point me in the right direction? This is the code im using for the text wrap:

<div style=”display:block;float:left;margin: 9px 9px 9px 9px;”>
adsense code here
</div>
 


if you are willing to out the site, you'll probably get a lot more help, as people can actually see exactly what's going on. Your choice though.
 
Maybe I'm not under standing but add the border property you want to that div, add a bit of padding if needed... That should do it.
 
Like Mentioned: Borders, Padding, Margin are the CSS Code that should work.
However outer DIVs may be affecting the positioning of your internal one.
So without the whole code, we won't be sure why it isn't functioning.