Click to See Complete Forum and Search --> : Font Color - Alignment


terryk2
12-28-2002, 04:01 PM
I have this script that puts several links to news headlines on a page <script language="JavaScript" src="http://www.worldnetdaily.com/affiliates/code-grab/wnd_headlines.asp">
</script>

How do I force the links the script opens to be centered on the page and what do I add to change the font color of the links.

Zach Elfers
12-28-2002, 04:16 PM
Please provide the full script. You can center links by typing "<center>" before them. That's all I can help you with unless you post the full script.

terryk2
12-28-2002, 04:20 PM
That's the full script the site provided me. It brings up the the headline links fine (left justified) but they said I could add my own tags for font color and alignment. I have done that on other scripts but I don't see how on this one. Thanks.

pyro
12-28-2002, 04:22 PM
This should do it for you.

<style>
.script A {color:red}
</style>

<div class="script" align="center"><script language="JavaScript" src="http://www.worldnetdaily.com/affiliates/code-grab/wnd_headlines.asp"></script></div>

terryk2
12-28-2002, 04:38 PM
Thanks Pyro! Works great! Terry