Thanks to everyone for thier help.

I got the answer from a combination of several posts. Thanks a bunch.

The solution required me to nest my info inside a table.

.mouseover1 {
        background-color:BEDFFE;
        cursor:hand;
        border-top:
        1px solid #000000;
        border-right:1px solid #000000;
        border-bottom: 1px solid #000000;
        border-left: 1px solid #000000;
}
.mouseout1 {
        background-color:#ffffed;
        cursor:hand;
        border-top:1px solid #ffffed;
        border-right:1px solid #ffffed;
        border-bottom: 1px solid #ffffed;
        border-left: 1px solid #ffffed;
}
.mouseout2 {
        background-color:#ffffff;
        cursor:hand;
        border-top:1px solid #ffffff;
        border-right:1px solid #ffffff;
        border-bottom: 1px solid #ffffff;
        border-left: 1px solid #ffffff;
}

<script language="JavaScript">
        function changeClass(obj, new_style) {
          obj.className=new_style;
        }
</script>
<table cellpadding="0" cellspacing="0">
<cfloop from="1" to="10" index="thisRow">
<tr>
        <td>
                <cfoutput>
                <table cellpadding="1" cellspacing="0" border="0"
                        onMouseOver="changeClass(this, 'mouseover1');"
                        onMouseOut="changeClass(this, '#IIf(thisRow MOD 2, 
De("mouseout1"),
De("mouseout2"))#');"
                        class="#IIf(thisRow MOD 2, De("mouseout1"), De("mouseout2"))#">

<tr><td>#thisRow#-1</td><td>#thisRow#-2</td><td>#thisRow#-3</td><td>#thisRow
#-4</td><td>#thisRow#-5</td></tr>
                </table>
                </cfoutput>
        </td>
</tr>
<cfoutput>
</table>










-----Original Message-----
From: Larry C. Lyons [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 01, 2003 6:33 PM
To: CF-Community
Subject: RE: CSS question


>I'm trying to do this via Java script, here is what I have:
>
><tr onMouseOver="this.style.border='1px solid black';"
>onMouseOut="this.style.border='1px solid black';">
>
>but no go. Any suggestions?
>
>Duane

Duane,

here's what I use for something like that:

<table width="100%" cellpadding="0" cellspacing="0" border="1" height="22">
                     <tr class="links3" align="center" valign="middle">
                          <td width="95"><a href="index.htm">Home</a></td>

                          <td width="95"><a
href="Abstract.htm">Abstract</a></td>
                          <td width="95"><a
href="Intro1.htm">Introduction</a></td>
                         <td width="95"><a
href="results1.htm">Method</a></td>
                        <td width="95"><a
href="results1.htm">Results</a></td>
                          <td width="95"><a
href="discussion1.htm">Discussion</a></td>
                          <td width="95"><a
href="references.htm">References</a></td>
                          <td width="95"><a href="appendix.htm"
style="border-right-width:1px;">Appendix</a></td>
                     <!--- following style needs to be on the last
cell of the row: style="border-right-width:1px;" --->
                     <!--- <th width="10%"><a
style="border-right-width:1px;"
href="../contactfrm.cfm">Contact</a></th> --->
                     </tr>
                </table>

Then I defined links3, and links3 a:hover in the style sheet. You can
see this at http://www.lyonsmorris.com/absstudy/index.htm  as an
example

hth,
larry


--

Larry C. Lyons

========================================================
Life is Complex. It has both real and imaginary parts.
========================================================
Chaos, Panic and Disorder. My work here is done.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
                                

Reply via email to