Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base

irt.org | About | Feedback | 807 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base

Sent by
Dominic Tocci on February 10, 2000 at 14:53:15:

Worth:
Very worth reading

Comments:
I love your javascript FAQ's. They are my primary resource while coding. I came across a problem that I couldn't find on your FAQ's, so I thought I would submit it.

Using CSS Style Sheets, I wanted to be able to change the class of a table cell, instead of just changing one attribute of the style. In other words, I wanted to change the background color, text size, and text color all at once.

The way to do something like this is outlined in this small sample below. I believe this only works in IE.

Hope this adds value.

Dominic


<HTML>
<HEAD>
<STYLE TYPE="text/css">

</STYLE>
</HEAD>
<BODY>
<table>
<tr><td onmouseover="this.className = 'bright'">Bigcharts Nasdaq % Gainers</td></tr>
</table>
</BODY>
</HTML>



Other feedback on 'irt.org FAQ Knowledge Base' - show all


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.