Web Analytics Made Easy -
StatCounter Link won't float in NS? - CodingForum

Announcement

Collapse
No announcement yet.

Link won't float in NS?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Link won't float in NS?

    In the code below, when run under NS4, if I leave out he float, it works fine, but with the float the link no longe acts like one. Is this just a NS bug with no way around it?

    G

    <div>
    <p><span style="float:right"><a href="#" onmouseover="javascript: playTune('stage/db/mussat.MID')" onmouseout="javascript: reset()"><img src="bgnotes9.gif" width=120 height=66 border=1 style="border-color:gold;"></a></span></p>
    </div>

  • #2
    hey gorilla1...

    Probably a bug, NS4 very finicky with link CSS....try it in a class, applied directly to the <a>. Also: delete the javascript&#58; in those event handlers, it's unnecessary.

    A complete list of more than 200 bugs in Internet Explorer 3, plus a bug table, Netscape bugs, CSS and HTML guides and much much more


    cya, adios

    Edit:
    <html>
    <head>
    <title>untitled</title>
    <style type="text/css">
    .rightAlign {text-align: right;}
    </style>
    </head>
    <body>
    <div>
    <p class="rightAlign">
    <a href="#"><img src="......." width=120 height=66 border=1 style="border-color:gold;"></a></p>
    </div>
    </body>
    </html>
    Last edited by adios; Jul 8, 2002, 10:05 PM.

    Comment


    • #3
      Hey Adios...

      Yes, p align=right does work, but loses the benefit of the float :-(.
      So it goes.

      G
      Last edited by gorilla1; Jul 8, 2002, 10:22 PM.

      Comment

      Working...
      X