SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jan 2003
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Footer in the middle of the page in ie7

    Hello,

    I need some assistance with my css page.

    For some unknown reason the footer apears in the middle of the page in ie7. It works great in firefox and ie6.

    Here's the link to the site

    http://www.arbel-designs.com/css_test/main/

    and here's the css for the footer:
    Code CSS:
    #footer {
     clear:both;
     height:65px;
     width:780px;
     margin-left:auto;
     margin-right:auto;
     background-color: #008469;
     background-image: url(images/footer_end.jpg);
     background-repeat: no-repeat;
     background-position: right top;
     font-family: Tahoma, Verdana, "Trebuchet MS";
     font-size: 10px;
     color: #FFFFFF;
    }

    Thanks.

    Idan
    Idan Arbel
    Arbel Designs
    Email/msn idan@arbel-designs.com
    http://www.arbel-designs.com

  2. #2
    SitePoint Wizard bronze trophy Centauri's Avatar
    Join Date
    May 2007
    Location
    Newcastle, Australia
    Posts
    3,718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    .wrapper {
    	background-image: url(images/bg.jpg);
    	background-repeat: repeat-x;
    	background-position: top;
    	width:780px;
    	margin-left:auto;
    	margin-right:auto;
    	height:200px;
    }

  3. #3
    SitePoint Member
    Join Date
    Jan 2003
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks...but now the background image vanished....only in ff
    Idan Arbel
    Arbel Designs
    Email/msn idan@arbel-designs.com
    http://www.arbel-designs.com

  4. #4
    SitePoint Evangelist
    Join Date
    Jul 2006
    Posts
    493
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try min-height:200px;

  5. #5
    SitePoint Member
    Join Date
    Jan 2003
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that worked great.

    Thanks
    Idan Arbel
    Arbel Designs
    Email/msn idan@arbel-designs.com
    http://www.arbel-designs.com


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
  •