Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Div issue in IE

  1. #1
    Regular Coder
    Join Date
    Feb 2006
    Posts
    138
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Div issue in IE

    My divs on the right of this page (the grey boxes that hold the hotel info) seem to cut off at the bottom in IE only for no apparent reason. I clear the floats, etc., can't seem to find out what's causing the problem:

    http://orlandoanddaytona.com/orlando.php

    Any advice?

  • #2
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    if you are referring to ie8 or below, its probabaly got somethign to do with the fact that you are using the html5 doctype, which means it's going into the notorious quirks mode


    I know you didnt ask, but you can change this:

    Code:
    		$(document).ready(function() {
    		
    			$("a#example1").fancybox({});
    			$("a#example2").fancybox({});
    			$("a#example3").fancybox({});
    			$("a#example4").fancybox({});
    			$("a#example5").fancybox({});
    			$("a#example6").fancybox({});
    			$("a#example7").fancybox({});
    			$("a#example8").fancybox({});
    			$("a#example9").fancybox({});
    			$("a#example10").fancybox({});
    			$("a#example11").fancybox({});
    			$("a#example12").fancybox({});
    			$("a#example13").fancybox({});
    $("a#example14").fancybox({});
    $("a#example15").fancybox({});
    $("a#example16").fancybox({});
    $("a#example17").fancybox({});
    $("a#example18").fancybox({});
    $("a#example19").fancybox({});
    $("a#example20").fancybox({});
    $("a#example21").fancybox({});
    $("a#example22").fancybox({});
    $("a#example23").fancybox({});
    $("a#example24").fancybox({});
    $("a#example25").fancybox({});
    $("a#example26").fancybox({});
    
    		});
    to this:

    Code:
    		$(document).ready(function() {
    		
    			$("a[id*='example']").fancybox();
    
    
    		});
    it will apply fancyboc to all anchor elements that have an ID that starts with "example"


  •  

    Posting Permissions

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