Forum Moderators: not2easy

Message Too Old, No Replies

text around adsense and picture

how to?

         

tyggemannen

9:36 pm on Feb 15, 2006 (gmt 0)

10+ Year Member



I use:

<div style="float: left; margin: 3px 3px 3px 3px;">
adsense code here
</div>

This puts the text to the right and under adsense ads.

What now if i want to have like this:

picture
adsense

and then text to the right of the picture and the adsense.

In other words, I put a picture on top of the adsense and want text to the right of both the pic and the ad and under.

Thanks for answers.

coopersita

1:40 am on Feb 16, 2006 (gmt 0)

10+ Year Member



Have you tried just to put the image in the same div as the ad?

tyggemannen

2:50 am on Feb 16, 2006 (gmt 0)

10+ Year Member



Yes, and the ad comes beside the picture, not under.

coopersita

4:08 am on Feb 16, 2006 (gmt 0)

10+ Year Member



Can you give the div a width (width: 200px; for example), or is the width going to be changing?

Bennie

5:54 am on Feb 16, 2006 (gmt 0)

10+ Year Member



give the div the appropriate width and u could change your css to margin:3px no need for the repeats. picky i know.

tyggemannen

3:19 pm on Feb 16, 2006 (gmt 0)

10+ Year Member



Perfect my friends, now it looks like this.

<div style="width: 255px;float: left; margin: 0px 19px 5px 1px;">
<p><img src="images/blablabla.jpg" width="300" height="198" /></p>
adsense code
</div>

tyggemannen

10:16 am on Mar 20, 2006 (gmt 0)

10+ Year Member



Sorry, it should of course be 300 both places:

<div style="width: 300px;float: left; margin: 0px 19px 5px 1px;">
<p><img src="images/blablabla.jpg" width="300" height="198" /></p>
adsense code
</div>