In Progress

[url removed, login to view] (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.

Skills: ASP

See more: vb this, vb job, job asp, info job, job vb, instr, validate error css, code safari, net safari browser, error css ie8, ie7 ie8 css, validate error, browser opera, job wanting, net end, server browser, css stylesheet, css browser, css ie7, net css, safari ie7, validate net, safari css error, request asp net, job net

About the Employer:
( 56 reviews ) Hull, United Kingdom

Project ID: #566836

Awarded to:

shmai

have a glance at Pm. Regards,

$46 USD in 1 day
(171 Reviews)
6.8

9 freelancers are bidding on average $39 for this job

HeoQue

kindly check PM

$30 USD in 1 day
(25 Reviews)
6.1
netcoder

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

$30 USD in 1 day
(70 Reviews)
5.7
ranacseruet

I can do it...

$50 USD in 2 days
(3 Reviews)
5.0
alexwuphp

let us start

$30 USD in 1 day
(1 Review)
3.7
webscript

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

$30 USD in 0 days
(2 Reviews)
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.

$30 USD in 0 days
(2 Reviews)
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 More

$60 USD in 1 day
(1 Review)
1.4
atgsolutions

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

$45 USD in 1 day
(0 Reviews)
0.0