Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Extra white space in IE
Old 06-13-2008, 10:57 PM Extra white space in IE
Junior Talker

Posts: 3
Trades: 0
Hello,

I am new to designing websites and am hoping someone can help. I have a website that I am trying to position elements with background images. These images line up in FF and Safari but not in IE6 or IE 7. There is a considerable gap that should not exist. I also have a problem in IE where the strip I use for my background image is visible under my footer. Again, only in IE. HTML and CSS both verified.

Can anyone help?

Screenshots:



Link to site

Here is the code:

HTML -

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>Disciple the Nations</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link rel="STYLESHEET" type="text/css" href="includes/styles.css" />
    <link rel="STYLESHEET" type="text/css" href="includes/nav.css" />
    <link rel="stylesheet" href="includes/css/jd.gallery.css" type="text/css" media="screen" charset="utf-8" />

    <script src="includes/scripts/mootools.js" type="text/javascript"></script>
    <script src="includes/scripts/jd.gallery.js" type="text/javascript"></script>
</head>

<body>
        <script type="text/javascript">
            function startGallery() {
                var myGallery = new gallery($('myGallery'), {
                    timed: true,
                    showArrows: false,
                    showInfopane: false,
                    showCarousel: false,
                    embedLinks: false,
                    delay: 5000,
                    fadeDuration: 2000    });
                document.gallery = myGallery;
            }
            window.onDomReady(startGallery);
        </script>
    <div id="Wrapper">
        <div id="Header"><img id="headerpic" src="images/head_top.jpg" alt="" border="0" /><br /></div>
            <div id="Slideshow">
    
                <div id="myGallery">
                    <div class="imageElement">
                        <h3>Item 1 Title</h3>
                        <p>Item 1 Description</p>
                        <a class="open"></a>
                        <img src="images/switch1.jpg" class="full" alt=""/>
                    </div>
                    <div class="imageElement">
                        <h3>Item 2 Title</h3>
                        <p>Item 2 Description</p>
                        <a href="#" title="open image" class="open"></a>
                        <img src="images/switch2.jpg" class="full" alt=""/>
                    </div>
                    <div class="imageElement">
                        <h3>Item 2 Title</h3>
                        <p>Item 2 Description</p>
                        <a href="#" title="open image" class="open"></a>
                        <img src="images/switch3.jpg" class="full" alt=""/>
                    </div>
                    <div class="imageElement">
                        <h3>Item 2 Title</h3>
                        <p>Item 2 Description</p>
                        <a href="#" title="open image" class="open"></a>
                        <img src="images/switch4.jpg" class="full" alt=""/>
                    </div>
                    <div class="imageElement">
                        <h3>Item 2 Title</h3>
                        <p>Item 2 Description</p>
                        <a href="#" title="open image" class="open"></a>
                        <img src="images/switch5.jpg" class="full" alt=""/>
                    </div>
                    <div class="imageElement">
                        <h3>Item 2 Title</h3>
                        <p>Item 2 Description</p>
                        <a href="#" title="open image" class="open"></a>
                        <img src="images/switch6.jpg" class="full" alt=""/>
                    </div>
                    <div class="imageElement">
                        <h3>Item 2 Title</h3>
                        <p>Item 2 Description</p>
                        <a href="#" title="open image" class="open"></a>
                        <img src="images/switch7.jpg" class="full" alt=""/>
                    </div>    
                    <div class="imageElement">
                        <h3>Item 2 Title</h3>
                        <p>Item 2 Description</p>
                        <a href="#" title="open image" class="open"></a>
                        <img src="images/switch8.jpg" class="full" alt=""/>
                    </div>    
                    <div class="imageElement">
                        <h3>Item 2 Title</h3>
                        <p>Item 2 Description</p>
                        <a href="#" title="open image" class="open"></a>
                        <img src="images/switch9.jpg" class="full" alt=""/>
                    </div>                                                                    
                </div>
    
            </div>
                    <div id="nav">
                        
<span class="preload1"></span>
<span class="preload2"></span>

<ul class="menu2">
    <li class="top"><a href="http://www.disciplethenations.com" id="home" class="top_link"><span>Home</span></a></li>
    <li class="top"><a href="/about" id="aboutus" class="top_link"><span class="down">About Us</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
        <!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul class="sub">
            <li><a href="/bio">Biography</a></li>
            <li><a href="/story">Our Story</a></li>
        </ul>
        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    </li>
    <li class="top"><a href="/ministries" id="ministries" class="top_link"><span class="down">Ministries</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
        <!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul class="sub">
            <li><a href="/national">National</a></li>
            <li><a href="/international">International</a></li>
            <li><a href="/humanitarian">Humanitarian</a></li>
        </ul>
        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    </li>
    <li class="top"><a href="/gallery" id="gallery" class="top_link"><span>Gallery</span></a></li>
    <li class="top"><a href="/donate" id="donate" class="top_link"><span>Donate</span></a></li>    
    <li class="top"><a href="/store" id="store" class="top_link"><span>Store</span></a></li>    
    <li class="top"><a href="/links" id="links" class="top_link"><span>Links</span></a></li>
    <li class="top"><a href="/contact" id="contact" class="top_link"><span>Contact Us</span></a></li>
</ul>
          
                    </div>  
                            <div id="content">
                                    <div class="lt_content">
                                        <h2>Welcome to Disciple the Nations.</h2>
                                        <p>&nbsp;</p>
                                        <p><img class="img-left" src="images/welcome.jpg" alt="Welcome to Disciple the Nations" /></p>
                                        <p>Welcome to the official website of <b>Disciple the Nations, Inc</b>. Our strategy of discipling leaders to impact the world for Christ is now multiplying into the thousands throughout many nations around the world.  This core vision is becoming a reality by training disciples on three levels - nationally, internationally, and humanitarily.</p>
                                        <p>&nbsp;</p><p>Feel free to look around and please don't hesitate to <a href="/contact">contact</a> us if you have any questions.</p>
                                    </div>            
                                            <div class="rt_content">
                                                <p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>
                                                <p>Be sure to check out the new book <em>30x60x90</em> now being offered by Disciple the Nations.</p><div align="right"><p><a href="/store">Read More</a></p></div>
                                                <p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>
                                                <p>Sign up for our newsletter and stay up to date on events at Disciple the Nations</p>
                                                                <form action="/gdform.php" method="post">
                                                                <input type="hidden" name="subject" value="DTN Mailing List Submission" />
                                                                <input type="hidden" name="redirect" value="/thankyou" />
                                                                <p>&nbsp;</p><p><strong>E-Mail:<input type="text" name="email" /></strong></p>
                                                                <div id="form" align="right">
                                                                  <input type="submit" name="submit" value="Sign Up"/> 
                                                                </div>
                                                                </form>
                                            </div>                                  
                                </div>            
                                            <div id="mp_content_bottom">
                                                <p>&nbsp;</p>
                                            </div>                
                                                    <div id="footer">
                                                        <img id="footerpic" src="images/footer_bg.jpg" alt="" border="0" />
                                                    </div>            
    </div>
            <div id="SubFooter">
                <p>Copyright&copy; 2008 | Disciple the Nations | Design by <a href="http://www.wordcreative.com" target="_blank">Word Creative</a></p>
            </div>
            
    </body>
</html>
CSS -
Code:
*{margin: 0; padding: 0;}

body {background: url(../images/bg.jpg) repeat; font-family: "Helvetica Neue", Helvetica, Verdana, Geneva, sans-serif; color: #360000; font-size: 13px;}

#Wrapper {background: url(../images/main_bg.jpg) repeat-y; width: 968px; position: relative; margin: 0 auto;}

#Header {height: 99px; }

#Slideshow {height: 224px; }
    
h1, h2, h3 {color: #8a1a1c;}

ol {padding-left: 25px;}

ul {padding-left: 25px;}

img.img-right { 
    float:right; 
    margin:0px 0px 10px 10px; }
    
img.img-left { 
    float:left; 
    margin:2px 10px 10px 0px;}
    
#nav {background: url(../images/nav_bg.jpg) repeat-y;
    width: 968px;  
    padding: 0 59px 0 59px;}
    
#content {
    width: 968px;
    padding: 5px 65px 10px 65px;}
    
#content .rt_content {background: url(../images/rt_bg.jpg) no-repeat;
        width: 280px;
        min-height: 340px;
        padding-right: 107px;
        display:inline;
        float: right;}

#content .rt_content p {color: #8a1a1c; padding-left: 95px; padding-right: 32px;}

#content .lt_content {width: 565px; float:left;}

#mp_content_bottom {background: url(../images/mp_content_bg.jpg) bottom no-repeat; 
    width: 565px;;
    min-height: 220px;
    padding: 200px 134px 0px 0px;}
            
#footer {width: 968px;  }

#form { padding-right: 25px;}

#SubFooter {color: #8a1a1c; font-size: 11px; margin: 0 auto; margin-top: 5px; width: 968px; text-align: center; padding-bottom: 5px;}
#SubFooter .prog {font-size: 10px!important;}
#SubFooter a:link, #SubFooter a:visited {color: #8a1a1c; text-decoration: underline;}
#SubFooter a:hover, #SubFooter a:active {color: #360000; text-decoration: none;}
Thank you for your time.
ScottyWord is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-14-2008, 08:46 AM Re: Extra white space in IE
vectorialpx's Avatar
Extreme Talker

Posts: 249
Name: octavian
Location: Bucharest
Trades: 0
where you have float... add width: FIXED_WIDTH_NUMBER and display:inline;
__________________
you can
Please login or register to view this content. Registration is FREE
vectorialpx is offline
Reply With Quote
View Public Profile Visit vectorialpx's homepage!
 
Reply     « Reply to Extra white space in IE
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13221 seconds with 12 queries