Answered Black Border while using progid:DXImageTransform

  • Tuesday, July 24, 2012 4:58 AM
     
     

    Hi all,

    I am a newbie over here.

    Recently i was trying to develop a small web application, i had to rotate the text 270(degrees) and i need IE8 compatibility.

    I have used the following code :

    <body>
        <div style="width:800px;height:600px;vertical-align:middle;text-align:center">
        <div style="font-size:40px;font-weight:bold;font-family:Calibri;filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);color:#0a4c85">
        Human Computer    </div></div>
    </body>

    Everything worked fine for me.But the only issue is the border of the text at some places is black. This is disturbing the look and feel of my entire application.

    More Details : I have tried moving styles to external CSS.

    Thank you

All Replies

  • Tuesday, July 24, 2012 5:05 PM
     
     Answered

    Hi,

    add a valid DTD (document type declaration) to your page and validate your markup at validator.w3.org

    when asking questions in this forum it is helpful if you provide a link to your website as we need to inspect your markup, css and scripts and to inspect your server response headers for IE Compatibility and the DTD you are using.

    you must be using a png image.


    Rob^_^