SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist Maujor's Avatar
    Join Date
    Mar 2005
    Location
    Rio de Janeiro - Brazil - South America
    Posts
    409
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Background image don't stretchs to the bottom

    I've a background image defined in this CSS rule:

    body#home #principal {
    background: url('../imagens/bg-home.jpg') no-repeat left bottom;
    height:400px;
    }


    I set 400px height for the div#principal in order to make room for the background image.

    Compliant browsers render the image positioned as the CSS states, but
    Internet Explorer shows one 12 px horizontal, and other 3px vertical left blanK gap around the image.
    How to get rid of those unwanted gaps?
    Thanks for help

    The page is at: Sorry address no more available
    Last edited by Maujor; Sep 16, 2006 at 14:58.
    Mauricio Samy Silva
    http://www.maujor.com/

  2. #2
    SitePoint Evangelist Maujor's Avatar
    Join Date
    Mar 2005
    Location
    Rio de Janeiro - Brazil - South America
    Posts
    409
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Solved by all4nerds

    Many thanks all4nerds :-)
    Sure, it works fine!
    Mauricio Samy Silva
    http://www.maujor.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
  •