View Full Version : Link won't float in NS?

07-09-2002, 01:38 AM
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?


<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>

07-09-2002, 02:46 AM
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.


cya, adios

<style type="text/css">
.rightAlign {text-align: right;}
<p class="rightAlign">
<a href="#"><img src="......." width=120 height=66 border=1 style="border-color:gold;"></a></p>

07-09-2002, 03:19 AM
Hey Adios...

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


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum