img style tag vs. netscape - Using asp's to retreive articles from MS SQLserver
css is not well supported in Netscape
JP
----------
[red]The Next Step in Website Development [/red] - http://www.what-next.com
The Webmaster Promotion and Resource Center
Sverre posted this at 23:23 — 22nd October 1999.
They have: 2 posts
Joined: Sep 1999
In IE this code works fine:
<td>
<img style=cursor:hand border=0 src=/images/gothere.gif onclick=PostArt('172','/vedforroms/get-VFR.asp')>
</td>
In NN 4.x nothing works!
Is there any method solving this problem, except testing the browser and using HREF-tags to get pages
outside the database ????
greatful for any hints!!
Sverre
www.sildelaget.no
PJ posted this at 03:43 — 23rd October 1999.
They have: 76 posts
Joined: Apr 1999
Sverre,
It's a little hard to be exact as I'm not completely sure what you mean. You obviously have access to ASP so try this:
ASP Script
<% Put your favorite browser detect script here %>
<% If browser = "IE" Then %>
<td>
<img style=cursor:hand border=0 src=/images/gothere.gif onclick=PostArt('172','/vedforroms/get-VFR.asp')>
</td>
<% Else %>
<td>
<a href = '/vedforroms/get-VFR.asp'><img border=0 src=/images/gothere.gif></a>
</td>
<% End If %>
Like I said before, I'm not quite sure what you need, maybe my example might give you an idea.
Later,
PJ
Randall posted this at 04:49 — 25th October 1999.
They have: 141 posts
Joined: Aug 1999
Styles don't seem to work well with Netscape(In my opinion nothing does). Netscapes poor support for stylesheets makes me have to water down my javascript and such. I don't know much about asp, so I can help you in that aspect.
----------
The dLo Network
http://dlo.net
Sverre posted this at 02:27 — 26th October 1999.
They have: 2 posts
Joined: Sep 1999
Hello John
You sent me off in the right direction, thanks.
This statement was the clue:
<a href = javascript:PostArt('170','/vedforroms/get-VFR.asp')><img border=0 src=/images/gothere.gif></a>
Regards
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.