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
  1. #1
    Regular Coder
    Join Date
    Nov 2007
    Posts
    108
    Thanks
    14
    Thanked 0 Times in 0 Posts

    IE 6 CSS sliding windows failing

    I'm using a large .jpg which is comprised of stacked banners which will appear one at a time on my home page.

    I'm using CSS sliding windows to display the specific banner (each is 280px high).

    This is working in IE7 and Firefox. My problem is IE6. The browser displays the entire .jpg of stacked banners (1400px high instead of 280px).

    Any ideas?

    Here are the properties I'm using:

    Code:
    div#main_promo {
    	float:left;
    	width:860px;
    	height:280px;	
    	line-height:280px;	
    	font-size:0px;
    }
    
    div#main_promo.banner_image1{
    	background:url('/images/homepage/home_page_banners3-hq.jpg') top left no-repeat;	
    	height:280px;
    	line-height:280px;
    	font-size:0px;		
    }
    
    div#main_promo.banner_image2{
    	background:url('/images/homepage/home_page_banners3-hq.jpg') 0 -280px no-repeat;
    	height:280px;		
    	line-height:280px;		
    	font-size:0px;
    }
    
    div#main_promo a#destlink{
    	text-decoration:none;
    	height:260px;	
    	line-height:260px;
    	width:858px;
    	float:left;
    	margin-top:0px;
    }
    Code:
        <div id="main_promo"><a id="destlink" href="#"></a><div id="thumbs">
            <ul>	
                <li id="arrow"></li>        
                <li><a href="#" id="thumb1"></a></li>
                <li><a href="#" id="thumb2"></a></li>        
                <li><a href="#" id="thumb3"></a></li>  
                <li><a href="#" id="thumb4"></a></li>                            
            </ul>
            <script>displayImage();</script>
            </div>
        </div>
    Last edited by loamguy1; 06-17-2009 at 08:50 PM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,863
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Any ideas?
    Can we have a link to your page?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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