- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi,
I’ve created two divs, one on the top left side and the other under this (both with fixed dimensions).
My problem is: I want a new div on the right side that its length ends with browser window’s width. How I can create this new div?
I leave you an image for understanding this case:
Link
Thank you!
@albertdt6 Like this? http://codepen.io/christopherburton/full/kEyKo
I’m sure someone else can improve this.
Nope…that looks good to me.
@ChristopherBurton Thank you for your quickly work but I’ve followed your instructions in my web page and the main div doesn’t start when sidebar’s div finnish. You can look my web page here : Link
My sidebar’s div is in “styleInici.css” while main’s div (which is called “sliderFrame”) is in “js-image-slider.css”.
Note: I’ve added some background color.
Thank you!
add margin-left: 400px to #sliderFrame
Well I hadn’t considered this quick fix but it worked, thank you very much!