Problems with Background in Container (4 posts)

  1. luxechandelier
    Posted 6 years ago #

    How can I get my content background to finish without cutting off the stars?

    See screenshot:

    My code for the container part is:

    #container {
    	width: 850px;
            background: url(/images/content.png) top center repeat-y;
    	margin: 0 auto;
  2. luxechandelier
    Posted 6 years ago #

    Can anyone help with this?

    The URL is http://www.shedreamsbig.com if that helps trying to figure out why the problem is occurring.

  3. esmi
    Forum Moderator
    Posted 6 years ago #

    Short answer: you can't.

    It's not a "problem". The browser is displaying the background exactly as you have asked. The issue you have is that you cannot pre-determine the length of any random web page, so you cannot fix the height of the container in such as way that you do not 'clip' a star here or there.

  4. doc4
    Posted 6 years ago #


    Because the height is always an unknown factor it's difficult to gauge how this could be accomplished. Unless you specifically made the page height taller in all circumstances.

Topic Closed

This topic has been closed to new replies.

About this Topic