HighDots Forums  

<div>

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss <div> in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Jim Moe
 
Posts: n/a

Default Re: <div> - 01-25-2006 , 01:14 AM






News wrote:
Quote:
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)


Reply With Quote
  #12  
Old   
News
 
Posts: n/a

Default Re: <div> - 01-26-2006 , 02:36 PM







"Jim Moe" <jmm-list.AXSPAMGN (AT) sohnen-moe (DOT) com> wrote

Quote:
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)
Thanks for your help Jim, I have heaps to learn ;-)




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.