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

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top