Setting Up The CSS
We need to add the css tags to the page or to the css include file that we will be using so that when we put the invocation code on the page the ads will look the way we want them to.
Here is the css code I am using, and this is how it would look if you were to include it in a css file.
span
background-color: #000000;
padding: 2px;
}
span.testText {
color: #FFFFFF;
text-decoration: underline;
}
?>
To put the code in a css document is simple you just need to cut and paste it. You can make any changes to this code you want to make the ad look the way you need it to. If you are already using a css document then you know that you just need to do the following to include the css file.
?>
If you want to embed it on a page just do the following. Chances are, if you want the ad to look different on different pages of your site that you will use this option.
span.testText {
background-color: #FFFFFF;
}
span.testText a {
color: #000000;
text-decoration: underline;
}
</style>
?>
View phpAdsNew Text Ad With CSS Discussion
Page: 1 2 3 4 5 6 7 8 Next Page: Setting Up The Text Ad Campaign