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

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -