Load different CSS files for different browsers

S

Sehboo

I also posted this in C# group, but haven't received the answer.

I have a CSS file which shows things perfectly in IE, but it doesn't
work in Opera. If I change the CSS file for opera then it doesn't work

in IE. We only support these two browsers.

What I need to do is find out which browser I am in. If it is IE then
load CSS1. If I am in opera then load CSS2.


it is a C# web application


How would I do this?


thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top