Developer Forums | About Us | Site Map
Search  
HOME > TUTORIALS > SERVER SIDE CODING > ADMINISTRATION TUTORIALS > PHPADSNEW TEXT AD WITH CSS


Sponsors





Useful Lists

Web Host
site hosted by netplex

Online Manuals

phpAdsNew Text Ad With CSS
By Matthew Drouin - 2003-10-13 Page:  1 2 3 4 5 6 7 8

A Different Look

Below you will find the same text ad as on the previous page but with a different style associated with it. The style code is below.


<style type="text/css">
span.testText {
  
background-color: #CCCCCC;
  
padding: 2px;
}
span.testText a {
  
color: #000000;
  
text-decoration: underline;
}
</
style>

?>

Hopefully you have learned how to use css with your text ads so that you can have the text look different on different pages or just look the way you want it to. The prepend and append attributes are based on the ad zone itself but can be used with any type of ads not just text ads. Knowing how to use the prepend and append should help make your ad setup easier.

View phpAdsNew Text Ad With CSS Discussion

Page:  1 2 3 4 5 6 7 8 Next Page: This Is Not A Google Text Ad

Copyright 2003-2004 Matthew Drouin. All rights reserved.


Copyright 2004-2017 GrindingGears.com. All rights reserved.
Article copyright and all rights retained by the author.