1

How I can define css files for different browsers? For Example I want that if a User use the firefox that a div is width='1000px' and if a User use IE 7- 9 or higher have a div witdh='800px'.

I work with ASP.NET and C#. What can I do if I want make a Application for more Browser?

2
  • try using browser prefixes. Like -webkit-width for chrome and -mox-width for firefox. Commented Jan 30, 2013 at 12:02
  • @SamarthAgarwal — Prefixes are only supported for experimental properties. width is consistently implemented and standard. Commented Jan 30, 2013 at 12:05

1 Answer 1

1

You want to use condicional css by each caste this maybe help you

http://css-tricks.com/how-to-create-an-ie-only-stylesheet/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.