Forums

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

Home Forums CSS Full width divs with bg img

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #169764
    papaspot
    Participant

    Hi all,

    I just joined, so forgive me if this seems like a stupid question, I’m an HTML coder (self taught) and don’t understand CSS & Javascript much at all.

    I’m trying to do full width background bars like you see on the vimeo.com homepage (before you login). This has had me stumped for months now and I cannot seem to find an answer, or at least one I can understand and make work.

    Thanks in advance for any help

    #169779
    Paulie_D
    Member

    Without knowing exactly what you are after it’s hard to help.

    All divs are 100% wide unless told otherwise so I’m wondering if you have some sort of centered wrapper with a set width?

    If you want something to be 100% wide, just take it out of the wrapper.

    This might help you visualise what I mean

    http://codepen.io/Paulie-D/pen/oGKtA

    #169780
    nigelc
    Participant

    Papaspot is using Serif Web Plus which is a WYSIWYG get editor. This program creates a fixed width wrapper within which the page objects are displayed.

    #169787
    Paulie_D
    Member

    I have no idea how you would know that but that’s the only way I know of.

    #169808
    papaspot
    Participant

    Thanks Paulie, that is exactly what I was going for. So, I’m guessing that I can name the divs anything I want and match them with the corresponding css?

    Also, how would I replace the div bg color with a repeating background image?

    Thanks for the help guys

    #169809
    Paulie_D
    Member

    Yeah, you can call the divs anything you like.

    A repeating background image is basic CSS.

    https://developer.mozilla.org/en-US/docs/Web/CSS/background-image

    #169816
    nigelc
    Participant

    This thread on the Serif Community forums was a bit of a give away:

    https://community.serif.com/forum/webplus/11233/how-to-display-full-width-containers-or-divs

    Like to keep up to date with what’s happening and where.

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