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

Home Forums CSS let a left div vanish behind the left browser border

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #45202

    I made a sketch of what I want:

    What I want is the blue and the green divs centered on the browser and perfect aligned above eachother. In the red and pink left and right divs there will be 2 image slideshows (for in the background) In the wrapper is the main site. They may be vanish when the browser is smaller.

    Is it possible in CSS to center the 2 middle divs and give the left and right div a fixed width (300px) -> and when the browser is smaller that the left div will move out of the browser (like you can with rescaling the browser for the right side of the site). Now the left side of the red div stays always in the left side of the browser. I want the green and blue divs to be on the left corner when scaling down the browser.

    Is that even possible in CSS? The Joomla module for the slideshow left and right generates divs to put the slideshow in. Or must it be something in javascript?

    Thanks in advance!


    Forked Paulie_D’s pen.

    Added stuff for wrapper, now the red div hides behind a border as you wanted.


    Thanks both!

    Thats indeed what I tried to make.

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