![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Aug 2005
Posts: 66
Rep Power: 0
![]() |
is element.style w3c compliant?
Hi all!
Quick question. I've googled for it and it seems to be, but I just wanted to make sure that Javascript code like: e.style.backgroundColor = "teal"; e.style.color = "black"; is w3c compliant. Anybody have any insight? Thanks! ![]()
__________________
Isn't that just the way life goes? If it's worth doing, it's NP-Hard. Todd Wareham - Memorial University of Newfoundland |
|
|
|
|
|
#2 |
|
Newbie
|
Run the code on Firefox and look at the JavaScript Console. It will tell if it is W3C compliant or not...
__________________
I wish I was you, so I could be friends with me. |
|
|
|
|
|
#3 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
The Gecko DOM reference is a good place to refer to when unsure. Mozilla's pretty good at following standards to the letter. |
|
|
|
|
|
|
#4 |
|
Programmer
Join Date: Aug 2005
Posts: 66
Rep Power: 0
![]() |
Excelent. Thanks guys! ^_^
__________________
Isn't that just the way life goes? If it's worth doing, it's NP-Hard. Todd Wareham - Memorial University of Newfoundland |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|