![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
how do I dynamically change the color to #FF85AA, or any other hex number??? There is no way to do so with either HTML or CSS. Yes there is No, there is not. The solution you found is Javascript that uses DOM to change the color. That is neither HTML nor CSS. Grief I don't understand, I thought that JavaScript was using CSS to change the color. What then is happening? Javascript is accessing the DOM (Document Object Model) and changing its |
#12
| |||
| |||
|
|
News wrote: how do I dynamically change the color to #FF85AA, or any other hex number??? There is no way to do so with either HTML or CSS. Yes there is No, there is not. The solution you found is Javascript that uses DOM to change the color. That is neither HTML nor CSS. Grief I don't understand, I thought that JavaScript was using CSS to change the color. What then is happening? Javascript is accessing the DOM (Document Object Model) and changing its properties. See <http://www.w3.org/DOM/>. -- jmm (hyphen) list (at) sohnen-moe (dot) com (Remove .AXSPAMGN for email) |
![]() |
| Thread Tools | |
| Display Modes | |
| |