![]() |
What is the code to do this??? OK, I have a code in Wordpress to put an Adsense ad under each post. What I want is to add another block, but so they are side to side. No matter what I am doing at the moment, the blocks are going on top of each other - what is the code to stack them side by side? |
Re: What is the code to do this??? would need to see the code, and the html. |
Re: What is the code to do this??? <div style="float:left;">First AdSense Code</div><div>Second AdSense Code</div> |
Re: What is the code to do this??? All you need is Div's. Easiest way of doing it. Just google "Div tables" and it'll all come up. Html is a lot easier than it looks. |
Re: What is the code to do this??? Are you using CSS to control the Divs ? Try floating the second DIV to the left as well. If that doesn't work then add a padding of 350px to the second div I'm not at my normal PC so i can't do the code up for you. |
Re: What is the code to do this??? Also just had the idea.. but both adsense code in the same DIV. |
Re: What is the code to do this??? Quote:
It should work fine. |
Re: What is the code to do this??? Quote:
|
Re: What is the code to do this??? What I would do for consistency is place each Adsense block in its own <div> tags. This way if you want to customize each block differently, you can do so with css. I would also float each <div> block to the left. Like this: <div float="left">Adsense Code Block 1</div> <div float="left">Adsense Code Block 1</div> |
| All times are GMT -6. The time now is 11:58 AM. |