html - Help with Image sizing Issue in ie -



html - Help with Image sizing Issue in ie -

i have markup, (i know not utilize css - restriction in environment) goes this:

<table width="100%" cellpadding="5"> <tr><td width="60%"> <img src="../images/oracle_memory.gif" alt="oracle_memory.gif" width="100%"/> </td> <td> </td> </tr> </table>

in ie, image shows @ 100% of original size, in other browsers (chrome, firefox) image scales fill 100% of cell size - intended...

is there ie specific hack or syntax create image behave consistently in browsers?

tia

you setting width of image rather of style of image.

change:

<img src="../images/oracle_memory.gif" alt="oracle_memory.gif" width="100%" />

into:

<img src="../images/oracle_memory.gif" alt="oracle_memory.gif" style="width:100%;" />

i think ie right case.

html styles

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -