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
  • #44685

    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


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


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


    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.