PDA

View Full Version : For changing color in this script



Raytags
01-29-2006, 05:55 AM
Hello!

I need help to change the color of the text in this script the text is presently Black And I interested to change for white..

See this script:


******************************************************

<style type="text/css">
.verticaltext{
font: bold 13px Arial;
position: absolute;
right: 3px;
top: 20px;
width: 15px;
writing-mode: tb-rl;
}

</style><script type="text/javascript">

<script type="text/javascript">

/***********************************************
* Vertical Text script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

//Enter desired vertical text:
var myverticaltext='<div class="verticaltext">This page copyright 1998-2004 <a href="http://www.dynamicdrive.com">Dynamic Drive.</a></div>'

var bodycache=document.body
if (bodycache && bodycache.currentStyle && bodycache.currentStyle.writingMode)
document.write(myverticaltext)

</script>



Thanks in adverance for your help!

ddadmin
01-29-2006, 06:00 AM
Just add color: white to the CSS at the top:


.verticaltext{
color: white;
font: bold 13px Arial;
"
"