Techno WeBlog

blogging about tech, the tech, and everything tech, for techno addicts!

Join Techno Google group

Body Background Color

Avoid the usage of document.bgColor. Use document.body.style.backgroundColor instead.And one more thing, I don’t know how many of us are aware about this [ even me too till today :) ]………………

the following three references are equivalent.

document.body.style.backgroundColor
document.body.style[’backgroundColor’]
document[’body’][’style’][’backgroundColor’]

posted by Jansan John @ 3:41 AM,
Labels : DiggIt!  |   Del.icio.us


0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home

Google

Archives

Previous Posts

Links