Forums

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

Home Forums Other avoiding horizontal scrolling from bg images

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #44785
    rwchampin
    Participant

    ok guys im just starting out doing this. im good in photoshop and learned dreamweaver but im having a few issues i cant figure out.

    1. how do i make a patterned bg fit to any sizescreen without having a horizontal scroll bar?

    obv a plain colored bg will fit bc it will just expand but im having trouble w a patterned bg. is it css? is it a php thing? i have no clue and im dying. PLEASE HELP!!!!

    #135117
    chrisburton
    Participant

    It’s because the image is larger than the viewport but you can control this with CSS. I believe background-size or background-attachment is the answer.

    #135118
    chrisburton
    Participant

    Moderators: Mind changing the title to help with search queries? “Avoid horizontal scrolling from bg image”

    #135142
    chrisburton
    Participant

    Possibly. Can we see a link or screenshot?

    #135146
    Paulie_D
    Member

    >what ive been doing is creating a bg layout in PS and chopping it up and importing it into dreamweaver w div tag

    Feels like the wrong way to go…but as has been said, without sight of a screenshot or some code it’s hard to help further.

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