I m newbie in PHP coding. I decided to use large rectangle adsense ad (336*280) in my site. I want to use 4 images next to large rectangle adsense ad. But I dont know how to put 4 images in a column next to ad and create a horizontal line between ad and images so that it doesn't violate adsense TOS. That means I want to do that this site did http://www.liewcf.com/ (They did not add horizontal line beetwn ad and images but I want to add it) What would be the PHP code of it? Thanks for ur help.
This has nothing to do with PHP, its all HTML. You could use a simple table like so: <table> <tr> <td> your image </td> <td> adsense code </td> </tr> </table> Code (markup):
I tried with it but it didnot place images leftsite to the ad. May be I m missing something. And I also want to seperate images and ad through a horizontal line. How can i do it? Thanks
I rather confused about this. If you use I think this is a table with two columns. If you want to separate images and ad with horizontal rule, you need table with two rows. Correct me if I wrong. Something like this: <table> <tr> <td> your image <hr> </td> </tr> <tr> <td> adsense code </td> </tr> </table> Code (markup): Or you can make a table with 3 rows like this: <table> <tr> <td> your image </td> </tr> <tr> <td> <hr> </td> </tr> <tr> <td> adsense code </td> </tr> </table> Code (markup): Good Luck
You can't put a horizontal line through an AdSense block...That violates the TOS. But, you could add a vertical line that separates your images on the left from the ad on the right. Just use a style for it. http://www.w3.org/TR/REC-CSS2/tables.html
Yes, I understand. But he said about horizontal rule. So it's make me so confuse. Where is the horizontal rule place? Never mind just share my mind Thank You
I use CSS to make it instead table. Please check it! http://www.supriyadisw.net/2006/06/17/using-images-to-increase-click-through-rate/ I'm not an expert about CSS. Any comments will be very much appreciated. Thanks a bunch….
I'm sorry just edit my link to http://www.supriyadisw.net/using-images-to-increase-click-through-rate/ Thx a bunch
I am sorry for creating the confusion guys. It would be vertical line not horizontal line. And thank u all guys. Now I did what i wanted to - add images left side to the ad.