The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS background image sizing issue

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #249388

    I had to face this issue quiet a few times but couldn’t find any solution. I’ve searched for it thousand times may be!!
    Whenever I add an image background to a full width div and I check it in the browser a thin white line of extra background appears as well as the scroll bar does. The document takes some sort of margin I guess.

    Check this image. In the right side there is white line in whole page.


    Is it a background-image or are you using an image as background? We can’t debug a screenshot, but in case of the last mentioned approach you could try setting the image to display: block.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.