Forums

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

Home Forums CSS background problem

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

    Hi

    I’m just working on a hazelnut company website and have a little problem about background.

    here is a web-page http://giori.ge/new/ i use texture for background and when i go to the page hazelnut // http://giori.ge/new/hazelnut.html background shakes kind up and changes size.. blows my mind can’t solve this problem : (

    #84509
    Kermet
    Member

    Try using

    background-position: top

    for the background, or some other fixed (pixels) dimension, to have consistency between different sized pages

    #84510
    bright_day
    Member

    //Kermet thanks… it works now : ) ) ) ) )

    #84517
    bright_day
    Member

    i have one little problem too when i go to http://giori.ge/new/hazelnut.html this page scroll bar appears and my fixed background goes left.. is there any solution? // i don’t want to hide scroll bar.just want not to move background when scroll bar appears

    #84539
    chrisburton
    Participant

    I think what you’re referring to is normal. When the scrollbar appears, your whole site will shift to the left to make room for it.

    #84541

    Set overflow-y to scroll on the html element. That way the vertical scrollbar will always be there.

    #84542
    chrisburton
    Participant

    Personally, I think that looks tacky

    #84543

    It is certainly a personal thing. For instance, I personally use it on most of my projects, I am not a fan of the page shifting a few pixels.

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