Forums

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

Home Forums CSS [Solved] Background Not Going To 100%

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #150668

    Hi my back ground image is not going to 100% even though image is 1920 long. It repeat it self so have to say no-repeat but white space now on sides.

    http://codepen.io/CarraraWebsiteSolutions/pen/pmujt

    #150672
    Mag
    Participant

    It looks fine on my monitor… Bg from left edge to the right edge..

    #150673

    Thats because had to add colour image still not stretching full with if you fork it and remove the #000 you will see what I mean

    #150674
    Mag
    Participant

    This image is 1280px not 1920px long ;)

    #150675
    Mag
    Participant

    And if I were you I would leave it this way and use solid color with css in addition to image. Looks good and weigh less..

    #150676

    Can I set it so only solid color fills left and right side and not under it because as soon as I go past 800px the black color shows up at bottom?

    #150677
    Mag
    Participant

    The best solution in this case will be changing image… Increase height and end each side of this radial gradient exactly the color of your solid color you want to use in css. So it wouldnt stopped abruptly on the bottom but merge nicely to the background.

    #150679

    Yeah Thanks I am working on another image that is better. Thanks for help.

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