[thelist] Adding a style / font colors to Javascript

.jeff jeff at members.evolt.org
Sat Mar 1 21:57:01 CST 2003


russ,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Russ
>
> I may have been unclear.  I'm simply trying to find the
> way to apply either a CSS style to the URL or to apply
> some degree of formatting to it.
>
> Ultimately, the script is generated by phpAds in order
> to manage the banner inventory--except in this instance,
> the banners are text and I need to be able to apply
> formatting to maintain the look and feel of the site.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

place the <script></script> block inside a container.  give that container a
class or id.  then, in your css, apply styles to any tags inside that
container's class or id you need changed.

the html:

<div class="banner">
<script>...</script>
</div>

and, your css:

.banner a {
  color: #ffffff;
  text-decoration: none;
}

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/




More information about the thelist mailing list