css - Image width inline IE conditional comments -


i use different image inline width property when html page viewed in outlook.

i believe way around using ie conditional comments, this:

<img src="myimage.jpg" <!--[if !mso]><!-->width="600"<!--<![endif]--><!--[if mso]><!-->width="300"<!--<![endif]--> /> 

but doesn't seem working , doesn't render image @ in browser. seems using conditional comments within inline element doesn't work.

any ideas?


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -