Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4240946
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:14:10+00:00 2026-05-21T03:14:10+00:00

As the titles says, my css works fine locally when using ie9, but when

  • 0

As the titles says, my css works fine locally when using ie9, but when deployed to IIS7 the border-radius and box-shadow is not applied, although works fine with ff4 and Chrome.

.blabla
{
    -moz-border-radius:10px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px #000000;
    height: 101px;
    margin: 5px;
    width: 225px;
    cursor:pointer;
    background:url('./Content/images/background.png') scroll 0 0px no-repeat;
}

I’m working with an MVC3 project, which has the <!DOCTYPE html> already in. It did not work locally originally when using border-radius: 10px 10px 10px 10px; I changes it to only mention 10px once and that made the trick (and also made the box-shadow working) but it’s still not working when deployed. Any ideas?

Edit: I checked in IE’s developers tool, the border-radius is there locally but does not show up when deployed, which explains why it’s not working… the question is why is it not displayed?

EDIT2: I noticed something else… My doctype while written correctly in my code: <!DOCTYPE html> is shown as disabled in the browser: <!-- DOCTYPE html --> Still can’t figure how to fix it.

EDIT3: I created a normal ASPX Web Application, same issue. Works locally but on IIS7 the doctype is commented…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T03:14:11+00:00Added an answer on May 21, 2026 at 3:14 am

    Your page probably triggers IE7 mode in IE9. On your local machine you manually changed the settings to use standard mode in IE9, but after deployment you again see the page in IE7 mode => no border-radius. Been there, done that.

    Another reason might be the content type your server sends for the page, see http://hsivonen.iki.fi/doctype/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The titles says it. I want a 2-column CSS layout that: is centered -
I wrote this Ext js application but I keep getting this error that says
The title pretty much says what I'm looking to do, but to elaborate a
OK, I added a universal style to my main.css that says: a:active { top:1px;
I have been coding a website using html and css, and recently I've come
Is there any way to, as the title says Show page differently (css) if
I believe the title already says it all, but here is my question: what
The title says everything. What is the CSS code to put shadows in the
Why does this work: <div style=background-color: #ccc; -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid
The website says it's supported however the following style does not render. <style type=text/css>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.