May 12, 2005 #1 rqmedes Programmer Joined Jun 22, 2002 Messages 6 Location AU HI All I need to change text color in a row of a table but cannot use css. I can change the background using .bgColor = but how do i change the text color cannot use css in this example thanks in advance
HI All I need to change text color in a row of a table but cannot use css. I can change the background using .bgColor = but how do i change the text color cannot use css in this example thanks in advance
May 12, 2005 #2 BillyRayPreachersSon Programmer Joined Dec 8, 2003 Messages 17,047 Location GB You have to use CSS: Code: .style.backgroundColor = 'red'; unless you want to use outdated code, like the font element. Dan [tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt] Upvote 0 Downvote
You have to use CSS: Code: .style.backgroundColor = 'red'; unless you want to use outdated code, like the font element. Dan [tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
May 12, 2005 #3 BillyRayPreachersSon Programmer Joined Dec 8, 2003 Messages 17,047 Location GB Sorry - "backgroundColor" should just be "color". Dan [tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt] Upvote 0 Downvote
Sorry - "backgroundColor" should just be "color". Dan [tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]