Rounded corners (CSS) does not work on Debian ISPConfig3 server

Discussion in 'Installation/Configuration' started by Hans, Jan 24, 2011.

  1. Hans

    Hans Moderator ISPConfig Developer

    Hi Till & Falko,

    It's known that IE7 & IE8 are not the best browsers as it comes to CSS.
    So, rounded corners defined in css does not work without a fix.
    But, when using a fix, it is possible to see rounded corners if you using IE7 or IE8, as you can see here:
    However, when we use the same html-file on our own Debian ISPConfig3 server, we can not see the rounded corners in IE7 and IE8:

    So, I had a look at the content of the file /etc/mime.types.
    There we have have a line, like:
    text/x-component htc

    Do you know why the rounded corners on our Debian ISPConfig3 server are not shown when IE7 or IE8 is used?
    I wonder what else needs to be configured, to make it possible.
  2. CSsab

    CSsab New Member

  3. Hans

    Hans Moderator ISPConfig Developer

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Css is a browser side technology like javascript. It is not related to any server setting and it does not matter which controlpanel, operating system, webserver etc. you use to deliver the web pages, so this is not related to ispconfig in any way.
  5. Hans

    Hans Moderator ISPConfig Developer

    Thanks both for your help!
    And yes i realize that Till, but do you have an explanation then?
    I mean, when i visit the html file on the first server i can see the border-radius and on the ISPConfig3 server not???
    Same pc, same browser, same html file, different servers (but both Debian).
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Might be a browser extension or any setting on your windows workstation that e.g. handles that one site is a trusted system and the oter one not or you have any browser extension installed that loades a different rendering engine for one IP etc.

    Another option might be that the file is not the same or that the file has any relative links or includes to css or javascript or images that are missing.
    Last edited: Jan 24, 2011
  7. Hans

    Hans Moderator ISPConfig Developer

    Thanks Till for your help! We will investigate that.
  8. Hans

    Hans Moderator ISPConfig Developer

    The issue with the rounded corners fix for IE7/8 is solved. The htc file was not loaded correctly. The path to the htc file was incorrect. After fixing this we discovered another issue. The htc solution will only fix the rounded borders issue for all borders, but not if you only want to change the radius of one or two borders. Thank you for trying to help us out!
  9. ezifor

    ezifor New Member

    Did you use vendor prefixes for border-radius property? You should use it in the following way: box with rounded corners using CSS3. And for IE of versions 8 and 7 you need to use PIE.

Share This Page