Fw: netscape, anchor links and positioning.

by "Steve Baty" <steve(at)redsquare.com.au>

 Date:  Mon, 20 Sep 1999 10:00:26 +1000
 To:  <hwg-style(at)hwg.org>
  todo: View Thread, Original
Ali,
>
>I belive that the problem lies in the way NN references objects. To fix
this
>I think you'll need to do two things: first, give your DIV a name using an
>ID. Then reference the image using document.div1.roundbutton1.src etc
>
>Hope this helps
>
>Steve Baty
>Technical Designer
>Red Square Productions
>http://www.redsquare.com.au
>steve(at)redsquare.com.au
>Ph: +612 9519 4599
>Fax: +612 9519 4699
>-----Original Message-----
>From: Ali Beatty <alib(at)ecollege.com>
>To: hwg-style(at)hwg.org <hwg-style(at)hwg.org>
>Date: Saturday, 18 September 1999 19:11
>Subject: netscape, anchor links and positioning.
>
>
>>Does anyone know why JavaScript mouse rollovers (in anchor tags) don't
work
>>if you use a div tag with css positioning information? I get a JavaScript
>>error in Netscape 4.05. It's fine in IE, and I validated the file (sorry,
>>it's not available publicly) through the W3C validator. I've this code
>along
>>with typical JavaScript rollover that I know works (until it gets put into
>a
>>div tag). I also tried creating a class called "div1" with the same
>>properties, to no avail. I assigned the class both to the Div tag and I
>>tried A.div1.  I'm assuming this has something to do with pseudo
classes???
>>
>> Thanks In Advance, Ali.
>>
>><STYLE type="text/css"><!--
>>
>>    A:Link  {text-decoration : none; font-size : 12pt; font-family :
>>Arial,Geneva,sans-serif; color : #ffffff;  }
>>
>>    A:Visited  { text-decoration : none; font-size : 12pt; font-family :
>>Arial,Geneva,sans-serif; color : #ffffff;    }
>>         --></STYLE>
>></HEAD>
>><BODY>
>><DIV style="position: absolute;top: 220px;left: 300px;"><A
>>href="D2index.real?action=Training" onMouseOut="turnOff('Roundbutton1')"
>>onMouseOver="turnOver('Roundbutton1')">
>><IMG src="resources/off_roundbutton.gif" width="19" height="19" alt=""
>>name="Roundbutton1" border="0" align="top">&nbsp;IT Training Offerings</A>
>></DIV>
>>
>>
>>> Ali Beatty
>>> Webmistress
>>eCollege.com
>>10200 A East Girard Avenue
>>Denver, CO 80231
>>
>>alib(at)ecollege.com
>>phone 303.873.7400  ext. 3020
>>fax    303.873.7449
>>
>>"The Leader in Online Education over the Internet"
>>
>>-------------------------------------------------------www.eCollege.com
>>
>>
>>
>

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA