opportunist86 — 2011-09-26T17:04:24-04:00 — #1
I want to enclose my adsense in a box. I mean a border around adsense. What is the html code for doing this?
felgall — 2011-09-26T17:14:55-04:00 — #2
Simply set the ad bordor colour to what you want it to be. Google ads only don't display a border if you make the border the same colour as your background.
green_moon — 2011-09-26T17:15:55-04:00 — #3
Do you mean a border besides the one you can create in the AdSense set-up?
opportunist86 — 2011-09-27T02:31:40-04:00 — #4
No, I dont mean the border in adsense set up. But i want to creat one separately.
felgall — 2011-09-27T02:47:03-04:00 — #5
In that case wrap the ad inside a div and apply the border to the div.
opportunist86 — 2011-09-27T05:31:27-04:00 — #6
Thanks and please tell me the complete code as i dont know anything
c_ankerstjerne — 2011-09-27T06:36:58-04:00 — #7
This will give you a
div with a border:
<div style="border:1px solid #000;">
<!-- Whatever code -->
I would recommend this tutorial for you, which will take you through the basic steps of web coding: http://www.sitepoint.com/html-css-beginners-guide/
ronnanr — 2011-09-29T09:47:34-04:00 — #8
You can create different border styles, such as none, hidden , solid, dashed, dotted, double, groove, ridge, inset, outset.
greenidea — 2011-10-15T19:34:59-04:00 — #9
Thanks for sharing the link, it helps
system — 2014-10-07T21:31:46-04:00 — #10
This topic is now closed. New replies are no longer allowed.