Forums

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

Home Forums CSS Outsite container div

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44685
    lisandrod
    Member

    Hello, i’m in a little trouble here, and wish a help.

    I am developing a onepage website with a div container width 960px, but in a certain part of the site need a div outside the container, at the right of it, but that does not create horizontal scroll beyond 960px.

    How to do it? [] ‘s

    #134671
    wolfcry911
    Participant

    Is this certain part content or design imagery?
    What have you tried?
    Do you have a mockup?

    #134673
    lisandrod
    Member

    lol, I’ve swapped the positions relative and absolute between them, now it’s solved. tnx wolfcry911

    #134674
    CrocoDillon
    Participant

    Getting a div outside the container is easy, not getting a horizontal scrollbar can be a pain. I’ve had no luck with `body { width: 100%; overflow: hidden; }` You might be better of using a MQ to reposition or hide that div if the window gets too narrow.

    EDIT: our comments crossed, so nevermind ;p

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