-2

There is problem with displaying images on pages in IE9: images are shown OK in Firefox and other browsers, but do not show up in IE9. In Firefox is shown all images on main page, but in IE9 only one image shown. Clicking on that image load page where detailed images are not displayed too. http://jurmalarealestate.ru/doma/

Probably, this issue is due to IE9 can no properly size images when width specified in percents.

How to fix this issue? Perhaps, there is a reason why they chosen scale images with browser, which is not a good way to do.

double-beep
  • 5,031
  • 17
  • 33
  • 41
fxgreen
  • 424
  • 1
  • 10
  • 24

1 Answers1

2

Set a proper DOCTYPE so IE will know how to interpret your size attributes. Additionally better use the style attribute to set those values instead, like

<a style="width:162px; height:120px;" ....
JFK
  • 40,963
  • 31
  • 133
  • 306
  • Adding DOCTYPE helped for aboved page, but not works for other pages with detailed info: [sample](http://tiny.cc/opjjhw) – fxgreen Jul 16 '12 at 13:45
  • The pages with detailed info don't have DOCTYPE either .... all your html pages should have a proper DOCTYPE. – JFK Jul 16 '12 at 16:06
  • yes I added ` ` to mentioned pages, tested page copy, but it does not show images(these images have 'width' attribute specified in percents). – fxgreen Jul 16 '12 at 16:25
  • as far as I can see your sample page still doesn't have a DOCTYPE – JFK Jul 16 '12 at 16:35
  • I mean I copied this html page and tested it locally from my drive with applied changes(not on live server). – fxgreen Jul 16 '12 at 16:40