Skip navigation
Currently Being Moderated

pixels showing on left

Nov 17, 2010 12:07 PM

hi,

 

on this site http://bhbws.com/ponderosa/index.php, I have an image for the gradient part of the content div and then it fades to just a white background.  However, where that transition from image to no image takes place there are a couple of extra pixels for the white background on the left side.  I can't seem to make them go away....showing in both FF and IE.

 

TIA

 
Replies
  • Currently Being Moderated
    Nov 17, 2010 6:30 PM   in reply to debibrighthope

    I'm not really understanding your first issue, but for your second, your wrapper is 1000px wide, your footer is 1003, and your background image is 1003.  Making the footer 1000 should fix you up.

     

    Gary

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 18, 2010 10:58 AM   in reply to debibrighthope

    If you replace your existing #content rule with this:

     

    #content {
    background:url("images/bg_content02.jpg") no-repeat fixed left top #FFFFFF;
    overflow:hidden;
    padding:1px 0;
    }

    I think that will take away those extra pixels.

    I have left a couple of bits out not because they were causing the extra pixels to show but because I don't think they were necesary.  To check my solution, just comment out your rule, with /* */ add mine and see what happens.

    Martin
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points