Terminé

ASP.NET (VB) Browser Info

I have built a ssite and am wanting to validate it to W3c but and getting error to many if's.

I have managed to put together this code but I know it is not the right way of doing it, I would like it doing properly.

If InStr([url removed, login to view]("HTTP_User_Agent"), "MSIE 6") Then 'IE6

[url removed, login to view] = "<link rel='stylesheet' type='text/css' href='[url removed, login to view]' />"

ElseIf InStr([url removed, login to view]("HTTP_User_Agent"), "MSIE 7") Then 'IE7

[url removed, login to view] = "<link rel='stylesheet' type='text/css' href='[url removed, login to view]' />"

ElseIf InStr([url removed, login to view]("HTTP_User_Agent"), "MSIE 8") Then 'IE8

[url removed, login to view] = "<link rel='stylesheet' type='text/css' href='[url removed, login to view]' />"

ElseIf InStr([url removed, login to view]("HTTP_USER_AGENT"), "Safari") Then 'Safari

[url removed, login to view] = "<link rel='stylesheet' type='text/css' href='[url removed, login to view]' />"

ElseIf InStr([url removed, login to view]("HTTP_USER_AGENT"), "Opera") Then 'Opera

[url removed, login to view] = "<link rel='stylesheet' type='text/css' href='[url removed, login to view]' />"

Else 'OTHERS

[url removed, login to view] = "<link rel='stylesheet' type='text/css' href='[url removed, login to view]' />"

End If

On the Page then [url removed, login to view] = <asp:Literal ID="Style" runat="Server" />

This is a quick job so will only be showing for 1-2 days.

Compétences : ASP

en voir plus : vb this, vb job, job vb.net, job vb net, job asp, info job, job vb, Instr, validate error css, job net, code safari, net safari browser, error css ie8, ie7 ie8 css, validate error, browser opera, job wanting, net end, server browser, css stylesheet

Concernant l'employeur :
( 57 commentaires ) Hull, United Kingdom

Nº du projet : #566836

Décerné à:

shmai

have a glance at Pm. Regards,

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(171 Commentaires)
6.8

9 freelance font une offre moyenne de $39 pour ce travail

HeoQue

kindly check PM

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(25 Commentaires)
6.1
netcoder

Hi, I think I can do it:-)! Best regards, netcoder:-)

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(70 Commentaires)
5.7
ranacseruet

I can do it...

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(3 Commentaires)
5.0
alexwuphp

let us start

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1 Évaluation)
3.7
webscript

Hi i will do it now. Please check PM for my work done. thanks

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(2 Commentaires)
3.4
doktorhallam

Hello, Please see profile and portfolio for reviews and examples of some of my work. I can have a solution for you same day. Look forward to your positive response. Thank you.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(2 Commentaires)
2.4
littlemaster2706

Hi!! I can solve your If condition issue, easily. Please pass me, your page details & i can get it solved. I think, we can build a strong business relationship with this small task. If in case, there is any query, t Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1 Évaluation)
1.4
atgsolutions

Hello we can do this, if you are ready we can start this now only.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0