Results 1 to 4 of 4

Thread: ie6 messes up my layout

  1. #1
    Join Date
    Aug 2009
    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default ie6 messes up my layout

    Here's the site that I am working on: hoosickstreetbeverage.com
    To see the issues that I'm having with it you will have to look at it in ie6. The top two images on this site have a space underneath them, and they shouldn't, and the bottom image looks like it's been moved up slightly.

    Here's the css:
    Code:
    #insideContainer{
    	text-align: center;
    	width: 800px;
    	margin: 0 auto;
    }
    #header {
    	height: 100px;
    	width: 800px;
    }
    #topCurve {
    	height: 24px;
    	width: 800px;
    }
    #bottomCurve {
    	height: 24px;
    	width: 800px;
    	position: relative;
    }
    and here's the html:

    Code:
    <div id="insideContainer">
        	
            <div id="header">
            	<h2>Header: Hoosick Street Discount Beverage Center</h2>
            	<p>The best place for all of your beverage needs.</p>
            	<img src="images/navBar_home.jpg" alt="Header Image and Navigation" border="0" usemap="#Map" />
                  <map name="Map" id="Map">
                    <area shape="rect" coords="312,82,379,97" href="about.html" alt="About Us Link" />
                    <area shape="rect" coords="402,82,477,97" href="selection.html" alt="Beer Selection Link" />
                    <area shape="rect" coords="496,83,562,98" href="info.html" alt="Beer Information Link" />
                    <area shape="rect" coords="582,82,663,163" href="specials.html" alt="Weekly Specials Link" />
                    <area shape="rect" coords="690,81,750,97" href="contact.html" alt="Contact Us Link" />
                  </map>
    		</div><!-- end header -->
            
            <div id="topCurve">
            	<img src="images/topCurve.jpg" alt="Top Curve" />
            </div><!-- end topCurve -->
            
            <div id="content">
    I've tried a few different things with the css but nothing works. I would really appreciate any help!!

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there pelaej,

    try adding this rule to your stylesheet...
    Code:
    
    img {
        display:block;
     }
    
    Further reading:-

    coothead

  3. The Following User Says Thank You to coothead For This Useful Post:

    pelaej (08-16-2009)

  4. #3
    Join Date
    Aug 2009
    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    It worked!!! Thank you coothead!!!!

  5. #4
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    No problem, you're very welcome.

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
  •