Hi there,

I am a relative CSS & JavaScript novice and I have a particular problem that
is beyond my level of knowledge so I thought I'd tap the collective wisdom
of this list.

I would like to know if there is a means of writing JavaScript that will
dynamically display the styles which are currently applied to any DOM
element on a web page (i.e., those applied by ID, those applied by class,
etc.) as the user moves their mouse over them.

Ideally the styles would be displayed in a tooltip style pop-up layer which
would remain displayed until the user mouses off the element.  But how
exactly the styles are displayed is not critical.  The idea is that the web
page itself would act as a sort of live stylesheet reference, dynamically
revealing to the user which styles are being applied to which elements,
allowing a stylesheet author to know which styles they need to customize to
affect a given element.

I would greatly appreciate any help or suggestions you may have on how this
can be achieved in a way that will work consistently in most popular modern
browsers.

Many thanks in advance.

--Sasha H
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to