I have some style like this:
<style type="text/css">
input[type=text]{
width:300px;
}
</style>
the above code works in chrome and firefox. Why not in IE?
I am using this code in Reporting services at the end of Reports.aspx file.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It works fine in IE8, assuming the page is loading in IE7 or IE8 standards mode (not quirks)
Edit
You’ve said you’re using IE8. In which case, use the developer tools (F12), locate your text box, and check what styles are being applied.
Edit 2
Don’t know which version of reporting services you’re using. Just went to a 2000 instance, and the report manager is serving up pages that render in quirks mode, so good luck getting much, if any, styling to work.
Edit 3
You may be able to force IE to render in IE8 mode by adding a meta tag to the head within the aspx pages. E.g. :