IE7 Problem - Footer Underneath Main Content

Discussion in 'CSS' started by Supergrover1981, Jan 3, 2007.

  1. #1
    Hi gang,

    I seem to be having a rather odd problem with IE7 - the footer of my page is disappearing underneath the main content. Typically, I'd think this was a float or positioning problem, except:

    1.) It works fine in IE6, FireFox, Netscape
    2.) I can't find any problematic float elements or positioning calls.

    If anyone has any ideas why this page is messing up in IE7 but not anything else, I'd be most appreciative.

    The CSS that opens the footer tag:


    <div style="background-color:#FAFAFA;
    width:100%;border-top:dashed 1px #CCC;
    border-bottom:dashed 1px #CCC;
    position:relative;
    top:350px;
    color:#CCCCAA;
    font-size:16px;
    font-family:Geneva, Arial, Helvetica, sans-serif;
    font-weight:bolder;
    text-transform:uppercase;
    clear:both;
    display:block;
    ">
    Code (markup):
    The CSS that opens the main content div:

    #maincontent {
    	position:relative;
    	left:10px;
    	width: 728px;
    	top:270px;
    	height:59px;
    	z-index:6;
    }
    Code (markup):
    The CSS for the search results box:
    .searchresultbox {
    	width:730px;
    	background-color:#F9F9F9;
    	border: 1px solid #999;
    	padding-right:10px;
    	padding-left:10px;
    	}
    Code (markup):
    The page can be viewed at: http://joomlatemplatesearcher.com/newtemptester/advancedsearch2.php?primarycolour=&secondarycolour=&tertiarycolour=&minprice=0&maxprice=9999&buytype=&licensecommercial=on&licenseGPL=on&onecol=on&twocol=on&threecol=on&othercol=on&fixedstretched=&htmllayout=on&csslayout=on&verified=No&company%5B0%5D=&ratingstars=0&extrainfo=&target=&x=93&y=33&pageID=2
    Many thanks,
    - JB
     
    Supergrover1981, Jan 3, 2007 IP
  2. bwp58

    bwp58 Peon

    Messages:
    485
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I've got a similar problem with www.factforfree.com. I can't get the realted posts (at the bottom) to the right hand side. Its fine in forefox and was ok when I had ie6
     
    bwp58, Jan 3, 2007 IP