-
IE Glitch
I'm building a site in Dreamweaver with a variable size image depth - I've set the image size to 100% which works on all browsers except EI which doesnt expand the image to the full depth
HTML Code:
<img src="../images/shad_04.jpg" width="14" height="100%" />
site : e-fficientenergy.co.uk
Anyone know a fix?
Ian
-
In the head, after the external script tag for jQuery, add this script:
Code:
<script type="text/javascript">
jQuery(function($){
var ie = /MSIE (\d+)/.exec(navigator.userAgent);
ie && ie[1] && $('table:eq(1) >tbody >tr >td[rowspan="3"]').css({height:$('table:eq(1)').height()});
});
</script>
That might not work, if not, this should do the trick:
Code:
<script type="text/javascript">
jQuery(window).load(function(){
var ie = /MSIE (\d+)/.exec(navigator.userAgent);
ie && ie[1] && jQuery('table:eq(1) >tbody >tr >td[rowspan="3"]').css({height:jQuery('table:eq(1)').height()});
});
</script>