Forums

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

Home Forums CSS website centered but not fully covering entire page on browser?

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #35607
    roncito
    Member

    Have webpage centered but one white stripe on each side? Not fully covering page? anything i can do?
    http://www.ingaspark.com/bcc

    thanks,
    Ron

    #92549
    Senff
    Participant

    Remove “no-repeat” from the body declaration in your CSS.

    In fact, change the entire body tag into this:

    body {
    font-family:"Times New Roman", "Times", "serif";
    background: url(http://ingaspark.com/bcc/images/background2.jpg) center;
    }
    #92550
    TheDoc
    Member

    I have suggested to you multiple times now that you need to reduce the file sizes of those images. I had to download 10.9MB to load the page. 10.9!!!!!!! CSS-Tricks just ran a poll, I recommend looking at the results:

    https://css-tricks.com/15477-poll-results-ideal-page-size/

    The reason why your background isn’t covering the entire screen is because your background image is 1200px wide and it’s not being repeated. Nor is it being told to cover the entire screen. I have already told you this AND linked to the following page, but I’ll do it again:

    https://css-tricks.com/3458-perfect-full-page-background-image/

    #92565
    snillor
    Member

    As TheDoc said, you need to get those images much smaller.

    I took 5 of the 800px wide PNGs and Save(d) for Web as JPGs at a high 80%. The results: as PNGs these 5 total 2.1MB, as JPGs at 80%, they come to .51MB. And in most cases you can save them at less than 80% with no visible deterioration.

    Also, one of the images (belnem6.png) I sampled suffers from severe barrel distortion.

    #92593
    roncito
    Member

    thank you so much for the comments and suggestions. your right you have mentioned several times to make the pictures smaller just have not been able to get to it yet. But I will soon. thanks again.
    Ron

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