Welcome to WebmasterWorld Guest from 54.234.244.30

Forum Moderators: open

Message Too Old, No Replies

Changing background colour in Opera

document.bgColor = '#000000'; doesn't work

     
12:46 am on Mar 18, 2002 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator ianturner is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 19, 2001
posts:3452
votes: 10


Can you change the background colour of a site using javascript in a way that will work in Opera?
8:27 am on Mar 18, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 15, 2002
posts:6807
votes: 0


try document.body.bgcolor or document.body.style.bgcolor