Advanced Search

Results 1 to 2 of 2

Thread: IE Glitch

  1. #1
    Join Date
    Feb 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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
    Last edited by keyboard; 03-07-2013 at 04:39 AM. Reason: Format: Html Tags [html][/html]

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,694
    Thanks
    43
    Thanked 3,130 Times in 3,096 Posts
    Blog Entries
    12

    Default

    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>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Firefox Header glitch
    By katiebugla in forum Other
    Replies: 11
    Last Post: 02-15-2012, 04:28 PM
  2. Resolved Firefox Glitch
    By Webiter in forum Other
    Replies: 2
    Last Post: 01-19-2012, 08:32 PM
  3. Help with table glitch
    By zchrykng in forum HTML
    Replies: 0
    Last Post: 07-16-2011, 05:43 PM
  4. AOL glitch
    By vkbarefoot in forum Flash
    Replies: 4
    Last Post: 08-23-2007, 12:05 PM
  5. Replies: 1
    Last Post: 09-09-2005, 11:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •