Buy Questpond's video subscriptions on
huge discount
.
Online: 1636
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
CSS 3
>
Loading ...
I need to change text box style based on Browser
Posted by
Sekar.C
under
CSS 3
on 4/15/2014 |
Points: 10
| Views : 1423 | Status :
[Member]
| Replies : 1
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
Hi,
I need to change text box style based on Browser
If IE 10 then one color
Other browser then different color
How it’s passible in asp.net with css
Regards
Sekar.c
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Vinothkumar
on: 4/16/2014
[Member]
Starter
|
Points: 25
0
Check the browser type and version in javascript.. like this
<script type="text/javascript">
if(navigator.appName.indexOf('Internet Explorer')!=-1 && browserVersion.indexOf('6')!=-1)
{
document.write('Do this');
}
else
{
document.write('Do this');
}
</script>
Regards,
Vinoth kumar
Sekar.C
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
How white label Uber app clone can help you start a taxi business like Uber?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
Where can I found sample MVC projects to learn and improve skills
(1)
Extract a value from HTML string
(0)
Get only year part from date string in SQL server
(0)
django.template.exceptions.TemplateDoesNotExist: AlgoDash/index.html
(0)
More ...