Big problem with images styled to 100% width when within table in IE8

  •  08-14-2012, 2:20 AM

    Big problem with images styled to 100% width when within table in IE8

    We have big problems when trying to insert large images styled to 100% width, it just wont work in Internet Explorer 8.
     
    When doing this in IE9, Chrome, Firefox everything works fine, but in IE8 it will just not work.
    We have tried this on your demo editors too, it does not work there eighter )c:
     
    When looking directly on the code in IE8 and not through the editor it works fine.
     
    Here is a sample so you can try this yourselfe.
     
    1. <img style="width: 100%" border="0" alt="" src="http://www.vikab.com/ie8imagewidth.jpg" />  
    2. <table border="1" width="100%">  
    3.     <tbody>  
    4.         <tr>  
    5.             <td><img style="width: 100%" border="0" alt="" src="http://www.vikab.com/ie8imagewidth.jpg" /> </td>  
    6.         </tr>  
    7.     </tbody>  
    8. </table>  
    9. <table border="1" width="100%">  
    10.     <tbody>  
    11.         <tr>  
    12.             <td>Same table with text </td>  
    13.         </tr>  
    14.     </tbody>  
    15. </table>  

    I really wish that you have a solution to this, it is really a big problem for us.
View Complete Thread