巧用样式表,美化你的GOOGLE广告
Contents
1.最终实现效果:
预览地址:http://uicss.cn/ad/120_240.html
2.CSS:
[coolcode lang=”css” linenum=”off”]
#ad_code{
width:136px;
text-align:center;
background:#FFFFFF url(bg_ad.png) center center no-repeat;
padding:8px;
}[/coolcode]
分别定义了宽度、居中、背景、以及补白的值****
3.html:
[coolcode linenum=”off”]
中间插入您的广告代码
[/coolcode]****
4.涉及到的背景图片源文件: